diff --git a/checkbox.js b/checkbox.js index 4f9ffe6..09fc5f5 100644 --- a/checkbox.js +++ b/checkbox.js @@ -41,7 +41,8 @@ class CheckBox extends Component { }); } } - componentWillMount() { + + componentDidMount() { this.setState(this.baseState) }