diff --git a/src/layouts/BasicLayout.js b/src/layouts/BasicLayout.js index b0ae923c45b9c6a3d8d9e7ce28250faaca9d7b73..e587bc955e3c662060f0ead8754dd60e48e949d2 100644 --- a/src/layouts/BasicLayout.js +++ b/src/layouts/BasicLayout.js @@ -281,7 +281,7 @@ class BasicLayout extends React.PureComponent { } } -export default connect(({ user, global, loading }) => ({ +export default connect(({ user, global = {}, loading }) => ({ currentUser: user.currentUser, collapsed: global.collapsed, fetchingNotices: loading.effects['global/fetchNotices'],