Commit 42bfd964 authored by jim's avatar jim

fix CountDown Unknown event warning

parent 27266c56
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment