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/components/team_settings.jsx | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'web/react/components/team_settings.jsx')

diff --git a/web/react/components/team_settings.jsx b/web/react/components/team_settings.jsx
index e3207d573..0eb9d1211 100644
--- a/web/react/components/team_settings.jsx
+++ b/web/react/components/team_settings.jsx
@@ -28,6 +28,9 @@ export default class TeamSettings extends React.Component {
         }
     }
     render() {
+        if (!this.state.team) {
+            return null;
+        }
         var result;
         switch (this.props.activeTab) {
         case 'general':
-- 
cgit v1.2.3-1-g7c22

