maintain (client): maintain project dependencies and relevant upgrade

This commit is contained in:
Mickael Kerjean
2020-01-06 21:34:50 +11:00
parent b3124b95ec
commit 3b3a03da0d
10 changed files with 30 additions and 30 deletions

View File

@ -46,7 +46,7 @@ export class Enabler extends React.Component {
super(props);
}
componentWillMount(){
componentDidMount(){
requestAnimationFrame(() => {
this.toggle(this.props.defaultValue || false);
});