dont crash with null-ref (#12274)
parent
6d6154eec0
commit
f28877756e
|
@ -164,7 +164,9 @@ class SwitchingColumnsArea extends React.PureComponent {
|
||||||
}
|
}
|
||||||
|
|
||||||
setRef = c => {
|
setRef = c => {
|
||||||
this.node = c.getWrappedInstance();
|
if (c) {
|
||||||
|
this.node = c.getWrappedInstance();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
render () {
|
render () {
|
||||||
|
|
Loading…
Reference in New Issue