diff options
author | Christopher Speller <crspeller@gmail.com> | 2017-05-18 09:28:18 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-18 09:28:18 -0400 |
commit | 2bbedd9def2a782f370fb5280994ea0ecbf8a7c7 (patch) | |
tree | c97936580a81c561aa9884d1c414c54bd49d401a /webapp/components/create_team | |
parent | 63e599c43b66f0dd95f7f07c783c40fdaf89e3fb (diff) | |
download | chat-2bbedd9def2a782f370fb5280994ea0ecbf8a7c7.tar.gz chat-2bbedd9def2a782f370fb5280994ea0ecbf8a7c7.tar.bz2 chat-2bbedd9def2a782f370fb5280994ea0ecbf8a7c7.zip |
Updating client dependencies. Switching to yarn. (#6433)
* Updating client dependancies. Switching to using yarn.
* Updating React
* Moving pure components to using function syntax (performance gains with newer react version)
* Updating client dependancies.
* Ignore .yarninstall
* Enabling pre-lockfile because it's the entire point of using yarn.
* Removing old webpack config
* Moving to new prop-types
* Fixing ESLint Errors
* Updating jest snapshots.
* Cleaning up package.json
Diffstat (limited to 'webapp/components/create_team')
3 files changed, 11 insertions, 5 deletions
diff --git a/webapp/components/create_team/components/display_name.jsx b/webapp/components/create_team/components/display_name.jsx index e1b5a678c..333c262d3 100644 --- a/webapp/components/create_team/components/display_name.jsx +++ b/webapp/components/create_team/components/display_name.jsx @@ -8,6 +8,8 @@ import {cleanUpUrlable} from 'utils/url.jsx'; import logoImage from 'images/logo.png'; +import PropTypes from 'prop-types'; + import React from 'react'; import ReactDOM from 'react-dom'; import {FormattedMessage} from 'react-intl'; @@ -124,6 +126,6 @@ export default class TeamSignupDisplayNamePage extends React.Component { } TeamSignupDisplayNamePage.propTypes = { - state: React.PropTypes.object, - updateParent: React.PropTypes.func + state: PropTypes.object, + updateParent: PropTypes.func }; diff --git a/webapp/components/create_team/components/team_url.jsx b/webapp/components/create_team/components/team_url.jsx index 7722d9b31..baae0e09d 100644 --- a/webapp/components/create_team/components/team_url.jsx +++ b/webapp/components/create_team/components/team_url.jsx @@ -8,6 +8,8 @@ import * as URL from 'utils/url.jsx'; import logoImage from 'images/logo.png'; +import PropTypes from 'prop-types'; + import React from 'react'; import ReactDOM from 'react-dom'; import {Button, Tooltip, OverlayTrigger} from 'react-bootstrap'; @@ -242,6 +244,6 @@ export default class TeamUrl extends React.Component { } TeamUrl.propTypes = { - state: React.PropTypes.object, - updateParent: React.PropTypes.func + state: PropTypes.object, + updateParent: PropTypes.func }; diff --git a/webapp/components/create_team/create_team_controller.jsx b/webapp/components/create_team/create_team_controller.jsx index 71904a93c..e06ea9465 100644 --- a/webapp/components/create_team/create_team_controller.jsx +++ b/webapp/components/create_team/create_team_controller.jsx @@ -8,6 +8,8 @@ import TeamStore from 'stores/team_store.jsx'; import {FormattedMessage} from 'react-intl'; import {browserHistory, Link} from 'react-router/es6'; +import PropTypes from 'prop-types'; + import React from 'react'; export default class CreateTeamController extends React.Component { @@ -90,5 +92,5 @@ export default class CreateTeamController extends React.Component { } CreateTeamController.propTypes = { - children: React.PropTypes.node + children: PropTypes.node }; |