From e400053b698ad6dbdb7cfd4402968204263b2b2b Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Mon, 5 Aug 2019 10:45:49 +0100 Subject: [PATCH] s/hasCloseX/hasCloseButton/ Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/SlashCommands.js | 2 +- src/components/views/dialogs/InfoDialog.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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 }