diff --git a/src/components/GlobalHeader/index.js b/src/components/GlobalHeader/index.js index 3e91ee21f0fbdfc6ec8bbeec0a5fbe6c2157781d..559b876de8847498edfc914d7083de08ffb607f2 100644 --- a/src/components/GlobalHeader/index.js +++ b/src/components/GlobalHeader/index.js @@ -48,12 +48,13 @@ export default class GlobalHeader extends PureComponent { onCollapse(!collapsed); this.triggerResizeEvent(); }; + /* eslint-disable*/ @Debounce(600) - triggerResizeEvent = () => { + triggerResizeEvent() { const event = document.createEvent('HTMLEvents'); event.initEvent('resize', true, false); window.dispatchEvent(event); - }; + } render() { const { currentUser,