mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2025-11-02 11:57:04 +08:00
maintain (client): maintain project dependencies and relevant upgrade
This commit is contained in:
@ -6,7 +6,7 @@ import load from "little-loader";
|
||||
export class Bundle extends React.Component {
|
||||
state = { mod: null };
|
||||
|
||||
componentWillMount() {
|
||||
componentDidMount() {
|
||||
this.load(this.props)
|
||||
}
|
||||
|
||||
|
||||
@ -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