From b79b2b2a53935cd883312c1158918291a926bacd Mon Sep 17 00:00:00 2001
From: enahum <nahumhbl@gmail.com>
Date: Thu, 22 Dec 2016 15:20:36 -0300
Subject: Fix team switch (#4851)

* Fix team switch

* Fix channel switching by using BrowserStore

* Fixes plt-5076 and plt-5068

* Updating styles for Teams sidebar (#4875)
---
 webapp/components/signup/signup_controller.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'webapp/components/signup/signup_controller.jsx')

diff --git a/webapp/components/signup/signup_controller.jsx b/webapp/components/signup/signup_controller.jsx
index 3d853a9ee..9bf5936be 100644
--- a/webapp/components/signup/signup_controller.jsx
+++ b/webapp/components/signup/signup_controller.jsx
@@ -59,7 +59,7 @@ export default class SignupController extends React.Component {
 
     componentDidMount() {
         AsyncClient.checkVersion();
-
+        BrowserStore.removeGlobalItem('team');
         if (this.props.location.query) {
             const hash = this.props.location.query.h;
             const data = this.props.location.query.d;
-- 
cgit v1.2.3-1-g7c22

