summaryrefslogtreecommitdiffstats
path: root/webapp/components/select_team
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2016-12-29 15:48:46 -0500
committerChristopher Speller <crspeller@gmail.com>2016-12-29 15:48:46 -0500
commit20b995442488f321cebad064d2488fdcf4c62899 (patch)
tree5fa9235cc78cbfab9809ea8eee764557de1bc6fe /webapp/components/select_team
parent5811acca7fb654cfc4d9fa979873774294c7166d (diff)
downloadchat-20b995442488f321cebad064d2488fdcf4c62899.tar.gz
chat-20b995442488f321cebad064d2488fdcf4c62899.tar.bz2
chat-20b995442488f321cebad064d2488fdcf4c62899.zip
Fix console errors when logging out (#4915)
Diffstat (limited to 'webapp/components/select_team')
-rw-r--r--webapp/components/select_team/select_team.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/select_team/select_team.jsx b/webapp/components/select_team/select_team.jsx
index 361c95c49..292c90510 100644
--- a/webapp/components/select_team/select_team.jsx
+++ b/webapp/components/select_team/select_team.jsx
@@ -203,7 +203,7 @@ export default class SelectTeam extends React.Component {
headerButton = (
<a
href='#'
- onClick={GlobalActions.emitUserLoggedOutEvent}
+ onClick={() => GlobalActions.emitUserLoggedOutEvent()}
>
<span className='fa fa-chevron-left'/>
<FormattedMessage id='web.header.logout'/>