diff options
author | Christopher Speller <crspeller@gmail.com> | 2016-03-24 11:05:13 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2016-03-24 11:05:13 -0400 |
commit | b62e29ba9cd6183551266da05b9b602a4415d738 (patch) | |
tree | ea759d6d46cc49386bcd66a8b9b8542f75b1c77e /webapp/components/signup_team.jsx | |
parent | 68dad8c7345b12c7d0b10709ddc1873d4b40163e (diff) | |
download | chat-b62e29ba9cd6183551266da05b9b602a4415d738.tar.gz chat-b62e29ba9cd6183551266da05b9b602a4415d738.tar.bz2 chat-b62e29ba9cd6183551266da05b9b602a4415d738.zip |
Moving all links and redirects to react-router
Diffstat (limited to 'webapp/components/signup_team.jsx')
-rw-r--r-- | webapp/components/signup_team.jsx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/webapp/components/signup_team.jsx b/webapp/components/signup_team.jsx index 7b06aa767..e6b27e745 100644 --- a/webapp/components/signup_team.jsx +++ b/webapp/components/signup_team.jsx @@ -12,6 +12,7 @@ import * as AsyncClient from 'utils/async_client.jsx'; import {FormattedMessage} from 'react-intl'; import React from 'react'; +import {Link} from 'react-router'; import logoImage from 'images/logo.png'; @@ -109,15 +110,15 @@ export default class TeamSignUp extends React.Component { key={'team_' + team.name} className='signup-team-dir' > - <a - href={'/' + team.name} + <Link + to={'/' + team.name} > <span className='signup-team-dir__name'>{team.display_name}</span> <span className='glyphicon glyphicon-menu-right right signup-team-dir__arrow' aria-hidden='true' /> - </a> + </Link> </div> ); } |