mirror of https://github.com/vector-im/riot-web
make resizeNotifier optional in MainSplit for GroupView
parent
adf263c4af
commit
82e44249ff
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue