dont crash with null-ref (#12274)

pull/12289/head
Hinaloe 6 years ago committed by Eugen Rochko
parent 3b609da9bd
commit 8568018935

@ -164,7 +164,9 @@ class SwitchingColumnsArea extends React.PureComponent {
}
setRef = c => {
this.node = c.getWrappedInstance();
if (c) {
this.node = c.getWrappedInstance();
}
}
render () {

Loading…
Cancel
Save