From d7cdcf082fab6c0cb7c2fe4bed821bd1a8000e69 Mon Sep 17 00:00:00 2001
From: Christopher Speller <crspeller@gmail.com>
Date: Mon, 8 Feb 2016 07:26:10 -0500
Subject: Convering client to react-router.

---
 web/react/pages/home.jsx | 16 ----------------
 1 file changed, 16 deletions(-)
 delete mode 100644 web/react/pages/home.jsx

(limited to 'web/react/pages/home.jsx')

diff --git a/web/react/pages/home.jsx b/web/react/pages/home.jsx
deleted file mode 100644
index ff81c4994..000000000
--- a/web/react/pages/home.jsx
+++ /dev/null
@@ -1,16 +0,0 @@
-// Copyright (c) 2015 Mattermost, Inc. All Rights Reserved.
-// See License.txt for license information.
-
-import TeamStore from '../stores/team_store.jsx';
-import Constants from '../utils/constants.jsx';
-
-function setupHomePage() {
-    var last = null;
-    if (last == null || last.length === 0) {
-        window.location = TeamStore.getCurrentTeamUrl() + '/channels/' + Constants.DEFAULT_CHANNEL;
-    } else {
-        window.location = TeamStore.getCurrentTeamUrl() + '/channels/' + last;
-    }
-}
-
-global.window.setup_home_page = setupHomePage;
-- 
cgit v1.2.3-1-g7c22

