dont crash with null-ref (#12274)

master
Hinaloe 5 years ago committed by Eugen Rochko
parent 3b609da9bd
commit 8568018935
  1. 2
      app/javascript/mastodon/features/ui/index.js

@ -164,8 +164,10 @@ class SwitchingColumnsArea extends React.PureComponent {
}
setRef = c => {
if (c) {
this.node = c.getWrappedInstance();
}
}
render () {
const { children } = this.props;

Loading…
Cancel
Save