From 48ad98c3f12fc8aab83adbfde59dee6efabd061b Mon Sep 17 00:00:00 2001 From: afc163 Date: Sat, 28 Apr 2018 11:21:06 +0800 Subject: [PATCH] allow render without currentUser --- src/components/GlobalHeader/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/GlobalHeader/index.js b/src/components/GlobalHeader/index.js index 559b876d..10aea499 100644 --- a/src/components/GlobalHeader/index.js +++ b/src/components/GlobalHeader/index.js @@ -57,7 +57,7 @@ export default class GlobalHeader extends PureComponent { } render() { const { - currentUser, + currentUser = {}, collapsed, fetchingNotices, isMobile, -- GitLab