mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2025-11-01 19:32:27 +08:00
maintain (client): maintain project dependencies and relevant upgrade
This commit is contained in:
@ -46,7 +46,7 @@ export class Enabler extends React.Component {
|
||||
super(props);
|
||||
}
|
||||
|
||||
componentWillMount(){
|
||||
componentDidMount(){
|
||||
requestAnimationFrame(() => {
|
||||
this.toggle(this.props.defaultValue || false);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user