You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-11 20:22:36 +03:00
make resizeNotifier optional in MainSplit for GroupView
This commit is contained in:
@@ -27,7 +27,9 @@ export default class MainSplit extends React.Component {
|
|||||||
|
|
||||||
_onResized(size) {
|
_onResized(size) {
|
||||||
window.localStorage.setItem("mx_rhs_size", size);
|
window.localStorage.setItem("mx_rhs_size", size);
|
||||||
this.props.resizeNotifier.notifyRightHandleResized();
|
if (this.props.resizeNotifier) {
|
||||||
|
this.props.resizeNotifier.notifyRightHandleResized();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
_createResizer() {
|
_createResizer() {
|
||||||
|
|||||||
Reference in New Issue
Block a user