Commit 72e765b2 authored by Amumu's avatar Amumu Committed by ι™ˆεΈ…

fix global hmr error

parent 43a570da
...@@ -281,7 +281,7 @@ class BasicLayout extends React.PureComponent { ...@@ -281,7 +281,7 @@ class BasicLayout extends React.PureComponent {
} }
} }
export default connect(({ user, global, loading }) => ({ export default connect(({ user, global = {}, loading }) => ({
currentUser: user.currentUser, currentUser: user.currentUser,
collapsed: global.collapsed, collapsed: global.collapsed,
fetchingNotices: loading.effects['global/fetchNotices'], fetchingNotices: loading.effects['global/fetchNotices'],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment