forked from treehouse/mastodon
[Glitch] dont crash with null-ref
Port 8568018935
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
rebase/4.0.0rc2
parent
f2fc7246e1
commit
f940c5a1fb
|
@ -174,8 +174,10 @@ class SwitchingColumnsArea extends React.PureComponent {
|
|||
}
|
||||
|
||||
setRef = c => {
|
||||
if (c) {
|
||||
this.node = c.getWrappedInstance();
|
||||
}
|
||||
}
|
||||
|
||||
render () {
|
||||
const { children, navbarUnder } = this.props;
|
||||
|
|
Loading…
Reference in New Issue