mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2025-11-01 10:56:31 +08:00
maintain (client): maintain project dependencies and relevant upgrade
This commit is contained in:
@ -25,10 +25,10 @@ function AdminOnly(WrappedComponent){
|
||||
notify.send("Error: " + (err && err.message) , "error");
|
||||
});
|
||||
};
|
||||
this.timeout = window.setInterval(this.admin.bind(this), 30 * 1000);
|
||||
}
|
||||
|
||||
componentWillMount(){
|
||||
this.timeout = window.setInterval(this.admin.bind(this), 30 * 1000);
|
||||
componentDidMount(){
|
||||
this.admin.call(this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user