delete (gallery-)project
This commit is contained in:
@@ -35,6 +35,12 @@ class Snackbar extends Component {
|
||||
}
|
||||
}
|
||||
|
||||
componentDidUpdate(){
|
||||
if(!this.state.open){
|
||||
clearTimeout(this.timeout);
|
||||
}
|
||||
}
|
||||
|
||||
componentWillUnmount(){
|
||||
if(this.state.open){
|
||||
clearTimeout(this.timeout);
|
||||
|
||||
Reference in New Issue
Block a user