diff options
author | Christopher Speller <crspeller@gmail.com> | 2017-09-06 23:04:13 -0700 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2017-09-06 23:11:58 -0700 |
commit | d8bd57901e33a7057e26e782e295099ffcc0da89 (patch) | |
tree | e12dfc8cad42b1576756d19d7fbfd82646a009bf /webapp/components/claim/claim_controller.jsx | |
parent | 7bc8e9a08dfde56387f946fdf5086252aa4d0491 (diff) | |
download | chat-d8bd57901e33a7057e26e782e295099ffcc0da89.tar.gz chat-d8bd57901e33a7057e26e782e295099ffcc0da89.tar.bz2 chat-d8bd57901e33a7057e26e782e295099ffcc0da89.zip |
Removing webapp
Diffstat (limited to 'webapp/components/claim/claim_controller.jsx')
-rw-r--r-- | webapp/components/claim/claim_controller.jsx | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/webapp/components/claim/claim_controller.jsx b/webapp/components/claim/claim_controller.jsx deleted file mode 100644 index ccf4fb64b..000000000 --- a/webapp/components/claim/claim_controller.jsx +++ /dev/null @@ -1,61 +0,0 @@ -import PropTypes from 'prop-types'; - -// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. -// See License.txt for license information. - -import React from 'react'; -import {FormattedMessage} from 'react-intl'; -import {Link} from 'react-router/es6'; - -import logoImage from 'images/logo.png'; - -export default class ClaimController extends React.Component { - constructor(props) { - super(props); - - this.state = {}; - } - componentWillMount() { - this.setState({ - email: this.props.location.query.email, - newType: this.props.location.query.new_type, - oldType: this.props.location.query.old_type - }); - } - render() { - return ( - <div> - <div className='signup-header'> - <Link to='/'> - <span className='fa fa-chevron-left'/> - <FormattedMessage - id='web.header.back' - /> - </Link> - </div> - <div className='col-sm-12'> - <div className='signup-team__container'> - <img - className='signup-team-logo' - src={logoImage} - /> - <div id='claim'> - {React.cloneElement(this.props.children, { - currentType: this.state.oldType, - newType: this.state.newType, - email: this.state.email - })} - </div> - </div> - </div> - </div> - ); - } -} - -ClaimController.defaultProps = { -}; -ClaimController.propTypes = { - location: PropTypes.object.isRequired, - children: PropTypes.node -}; |