diff --git a/src/SlashCommands.js b/src/SlashCommands.js index 5cfa6a3510..bcf6d9c5a6 100644 --- a/src/SlashCommands.js +++ b/src/SlashCommands.js @@ -837,7 +837,7 @@ export const CommandMap = { } , - hasCloseX: true, + hasCloseButton: true, }); return success(); }, diff --git a/src/components/views/dialogs/InfoDialog.js b/src/components/views/dialogs/InfoDialog.js index e02c70b918..ff2f53cad7 100644 --- a/src/components/views/dialogs/InfoDialog.js +++ b/src/components/views/dialogs/InfoDialog.js @@ -28,14 +28,14 @@ export default React.createClass({ description: PropTypes.node, button: PropTypes.string, onFinished: PropTypes.func, - hasCloseX: PropTypes.bool, + hasCloseButton: PropTypes.bool, }, getDefaultProps: function() { return { title: '', description: '', - hasCloseX: false, + hasCloseButton: false, }; }, @@ -50,7 +50,7 @@ export default React.createClass({
{ this.props.description }