diff --git a/src/components/CountDown/index.js b/src/components/CountDown/index.js index e1e85bc225ffd4a87cda94ec5a18f975dc494058..5b512c833dc867cc1fa07621d2fac66a4aee01d4 100644 --- a/src/components/CountDown/index.js +++ b/src/components/CountDown/index.js @@ -96,7 +96,7 @@ class CountDown extends Component { } render() { - const { format = this.defaultFormat, ...rest } = this.props; + const { format = this.defaultFormat, onEnd, ...rest } = this.props; const { lastTime } = this.state; const result = format(lastTime);