From 70e0618f629122891e9bcfe358def061042bef49 Mon Sep 17 00:00:00 2001
From: Reed Garmsen <rgarmsen2295@gmail.com>
Date: Mon, 1 Feb 2016 09:28:23 -0800
Subject: Fixed React invalid prop warning in Team Settings

---
 web/react/components/team_general_tab.jsx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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

diff --git a/web/react/components/team_general_tab.jsx b/web/react/components/team_general_tab.jsx
index 0656d3b03..0a1b02853 100644
--- a/web/react/components/team_general_tab.jsx
+++ b/web/react/components/team_general_tab.jsx
@@ -575,6 +575,8 @@ class GeneralTab extends React.Component {
                 </div>
             );
 
+            const nameExtraInfo = <span>{formatMessage(holders.teamNameInfo)}</span>;
+
             nameSection = (
                 <SettingItemMax
                     title={formatMessage({id: 'general_tab.teamName'})}
@@ -583,7 +585,7 @@ class GeneralTab extends React.Component {
                     server_error={serverError}
                     client_error={clientError}
                     updateSection={this.onUpdateNameSection}
-                    extraInfo={formatMessage(holders.teamNameInfo)}
+                    extraInfo={nameExtraInfo}
                 />
             );
         } else {
-- 
cgit v1.2.3-1-g7c22

