diff options
Diffstat (limited to 'web/react/pages/home.jsx')
-rw-r--r-- | web/react/pages/home.jsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/web/react/pages/home.jsx b/web/react/pages/home.jsx index 2c1edaa3a..ff81c4994 100644 --- a/web/react/pages/home.jsx +++ b/web/react/pages/home.jsx @@ -1,12 +1,11 @@ // Copyright (c) 2015 Mattermost, Inc. All Rights Reserved. // See License.txt for license information. -import ChannelStore from '../stores/channel_store.jsx'; import TeamStore from '../stores/team_store.jsx'; import Constants from '../utils/constants.jsx'; function setupHomePage() { - var last = ChannelStore.getLastVisitedName(); + var last = null; if (last == null || last.length === 0) { window.location = TeamStore.getCurrentTeamUrl() + '/channels/' + Constants.DEFAULT_CHANNEL; } else { |