diff --git a/src/components/GlobalHeader/index.js b/src/components/GlobalHeader/index.js index f84d2d2eb2fffc1382925087655fb8aa3e96a94b..2befb2e25441b892fa8675fdf2ee9d17f9466112 100644 --- a/src/components/GlobalHeader/index.js +++ b/src/components/GlobalHeader/index.js @@ -68,9 +68,6 @@ export default class GlobalHeader extends PureComponent { onMenuClick, onNoticeClear, } = this.props; - if (currentUser == null) { - currentUser = {}; - } const menu = (