From 23ccfc845ca2350075f6027e16c6206fc7b71716 Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Mon, 26 Jun 2017 08:16:57 -0400 Subject: Move remaining actions over to use redux and v4 endpoints (#6720) --- webapp/components/signup/signup_controller.jsx | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'webapp/components/signup') diff --git a/webapp/components/signup/signup_controller.jsx b/webapp/components/signup/signup_controller.jsx index d702b8cdf..eb1020478 100644 --- a/webapp/components/signup/signup_controller.jsx +++ b/webapp/components/signup/signup_controller.jsx @@ -1,9 +1,8 @@ -import PropTypes from 'prop-types'; - // Copyright (c) 2016-present Mattermost, Inc. All Rights Reserved. // See License.txt for license information. import React from 'react'; +import PropTypes from 'prop-types'; import FormError from 'components/form_error.jsx'; import LoadingScreen from 'components/loading_screen.jsx'; @@ -11,8 +10,7 @@ import LoadingScreen from 'components/loading_screen.jsx'; import UserStore from 'stores/user_store.jsx'; import BrowserStore from 'stores/browser_store.jsx'; -import * as AsyncClient from 'utils/async_client.jsx'; -import Client from 'client/web_client.jsx'; +import {Client4} from 'mattermost-redux/client'; import * as GlobalActions from 'actions/global_actions.jsx'; import {addUserToTeamFromInvite, getInviteInfo} from 'actions/team_actions.jsx'; import {loadMe} from 'actions/user_actions.jsx'; @@ -62,7 +60,6 @@ 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; @@ -160,7 +157,7 @@ export default class SignupController extends React.Component { @@ -180,7 +177,7 @@ export default class SignupController extends React.Component { @@ -200,7 +197,7 @@ export default class SignupController extends React.Component { -- cgit v1.2.3-1-g7c22