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

allow render without currentUser

afc163 7 лет назад
Родитель
Сommit
48ad98c3f1
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/components/GlobalHeader/index.js

+ 1 - 1
src/components/GlobalHeader/index.js

@@ -57,7 +57,7 @@ export default class GlobalHeader extends PureComponent {
   }
   render() {
     const {
-      currentUser,
+      currentUser = {},
       collapsed,
       fetchingNotices,
       isMobile,