Browse Source

fix CountDown Unknown event warning

pull/986/head
jim 8 years ago
parent
commit
42bfd964bf
  1. 2
      src/components/CountDown/index.js

2
src/components/CountDown/index.js

@ -96,7 +96,7 @@ class CountDown extends Component {
} }
render() { render() {
const { format = this.defaultFormat, ...rest } = this.props; const { format = this.defaultFormat, onEnd, ...rest } = this.props;
const { lastTime } = this.state; const { lastTime } = this.state;
const result = format(lastTime); const result = format(lastTime);

Loading…
Cancel
Save