mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2025-01-11 00:31:34 +01:00
dont crash with null-ref (#12274)
This commit is contained in:
parent
3b609da9bd
commit
8568018935
1 changed files with 3 additions and 1 deletions
|
@ -164,8 +164,10 @@ class SwitchingColumnsArea extends React.PureComponent {
|
|||
}
|
||||
|
||||
setRef = c => {
|
||||
if (c) {
|
||||
this.node = c.getWrappedInstance();
|
||||
}
|
||||
}
|
||||
|
||||
render () {
|
||||
const { children } = this.props;
|
||||
|
|
Loading…
Reference in a new issue