Skip to content
Snippets Groups Projects
Commit 85680189 authored by Hinaloe's avatar Hinaloe Committed by Eugen Rochko
Browse files

dont crash with null-ref (#12274)

parent 3b609da9
Branches
No related tags found
No related merge requests found
......@@ -164,7 +164,9 @@ class SwitchingColumnsArea extends React.PureComponent {
}
setRef = c => {
this.node = c.getWrappedInstance();
if (c) {
this.node = c.getWrappedInstance();
}
}
render () {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment