Просмотр исходного кода

dont crash with null-ref (#12274)

master^2
Hinaloe 4 лет назад
committed by Eugen Rochko
Родитель
Сommit
8568018935
1 измененных файлов: 3 добавлений и 1 удалений
  1. +3
    -1
      app/javascript/mastodon/features/ui/index.js

+ 3
- 1
app/javascript/mastodon/features/ui/index.js Просмотреть файл

@@ -164,7 +164,9 @@ class SwitchingColumnsArea extends React.PureComponent {
}

setRef = c => {
this.node = c.getWrappedInstance();
if (c) {
this.node = c.getWrappedInstance();
}
}

render () {


Загрузка…
Отмена
Сохранить