dont crash with null-ref (#12274)

th-downstream
Hinaloe 5 years ago committed by Eugen Rochko
parent 6d6154eec0
commit f28877756e

@ -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