소스 검색

fix CountDown Unknown event warning

jim 8 년 전
부모
커밋
42bfd964bf
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/components/CountDown/index.js

+ 1 - 1
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);