mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-26 10:13:42 +01:00
[Glitch] dont crash with null-ref
Port 8568018935
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
This commit is contained in:
parent
f2fc7246e1
commit
f940c5a1fb
1 changed files with 3 additions and 1 deletions
|
@ -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 a new issue