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

@ -6,7 +6,7 @@ import load from "little-loader";
export class Bundle extends React.Component {
state = { mod: null };
componentWillMount() {
componentDidMount() {
this.load(this.props)
}

View File

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