diff options
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, |