remove unnecessary componentWillUnmount from header

This commit is contained in:
Labhansh Agrawal 2020-03-09 19:57:31 +05:30 committed by Benjamin Staneck
parent b33f0db57b
commit fe6ddc8a2b

View file

@ -53,11 +53,6 @@ export default class Header extends React.PureComponent {
this.props.close();
};
componentWillUnmount() {
delete this.clicks;
clearTimeout(this.clickTimer);
}
getWindowHeaderConfig() {
const {showHamburgerMenu, showWindowControls} = this.props;