diff --git a/src/components/structures/MainSplit.js b/src/components/structures/MainSplit.js index c0bf74d02c..64f841da97 100644 --- a/src/components/structures/MainSplit.js +++ b/src/components/structures/MainSplit.js @@ -27,7 +27,9 @@ export default class MainSplit extends React.Component { _onResized(size) { window.localStorage.setItem("mx_rhs_size", size); - this.props.resizeNotifier.notifyRightHandleResized(); + if (this.props.resizeNotifier) { + this.props.resizeNotifier.notifyRightHandleResized(); + } } _createResizer() {