diff --git a/src/components/structures/AutoHideScrollbar.js b/src/components/structures/AutoHideScrollbar.js index 4055eb4f9d..3f27f51f18 100644 --- a/src/components/structures/AutoHideScrollbar.js +++ b/src/components/structures/AutoHideScrollbar.js @@ -118,19 +118,13 @@ export default class AutoHideScrollbar extends React.Component { return this.containerRef.scrollTop; } - onWheel = (e) => { - if (this.props.onWheel) { - this.props.onWheel(e); - } - }; - render() { return (