Web: Components: delete component did update
This commit is contained in:
parent
2ac9b4b785
commit
c9a29062d9
@ -46,10 +46,6 @@ class SnackBar extends React.Component {
|
||||
this.props.clickAction && this.props.clickAction(e);
|
||||
};
|
||||
|
||||
componentDidUpdate(nextProps, nextState) {
|
||||
return !equal(this.state, nextState);
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
const { onLoad } = this.props;
|
||||
onLoad();
|
||||
|
Loading…
Reference in New Issue
Block a user