diff options
author | Harrison Healey <harrisonmhealey@gmail.com> | 2016-08-11 10:31:56 -0400 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2016-08-11 10:31:56 -0400 |
commit | 0cee02d4d3ca05e1e09a918f175c8e021743e992 (patch) | |
tree | aaf4ffc9bc396f7d5abd3ad58493587b479e4d02 /webapp/components/new_channel_modal.jsx | |
parent | 8d5aa69950032777ea7286329d920de36aaa8a73 (diff) | |
download | chat-0cee02d4d3ca05e1e09a918f175c8e021743e992.tar.gz chat-0cee02d4d3ca05e1e09a918f175c8e021743e992.tar.bz2 chat-0cee02d4d3ca05e1e09a918f175c8e021743e992.zip |
PLT-3700 Made error message for too short channel URL more clear (#3773)
Diffstat (limited to 'webapp/components/new_channel_modal.jsx')
-rw-r--r-- | webapp/components/new_channel_modal.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webapp/components/new_channel_modal.jsx b/webapp/components/new_channel_modal.jsx index e174ddd32..31ed15306 100644 --- a/webapp/components/new_channel_modal.jsx +++ b/webapp/components/new_channel_modal.jsx @@ -372,14 +372,14 @@ class NewChannelModal extends React.Component { NewChannelModal.defaultProps = { show: false, channelType: 'O', - serverError: '' + serverError: null }; NewChannelModal.propTypes = { intl: intlShape.isRequired, show: React.PropTypes.bool.isRequired, channelType: React.PropTypes.string.isRequired, channelData: React.PropTypes.object.isRequired, - serverError: React.PropTypes.string, + serverError: React.PropTypes.node, onSubmitChannel: React.PropTypes.func.isRequired, onModalDismissed: React.PropTypes.func.isRequired, onTypeSwitched: React.PropTypes.func.isRequired, |