From 5a8433b6cef88996b65108c7faecbaf819fd3b64 Mon Sep 17 00:00:00 2001 From: Dan Date: Wed, 6 Sep 2017 14:40:27 -0230 Subject: New account modal top right close button working. --- ui/app/components/modals/new-account-modal.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/app/components/modals/new-account-modal.js b/ui/app/components/modals/new-account-modal.js index 80c70c47f..8d67762ac 100644 --- a/ui/app/components/modals/new-account-modal.js +++ b/ui/app/components/modals/new-account-modal.js @@ -37,7 +37,9 @@ NewAccountModal.prototype.render = function () { 'New Account', ]), - h('div.modal-close-x', {}), + h('div.modal-close-x', { + onClick: this.props.hideModal, + }), h('div.new-account-modal-content', {}, [ 'Account Name', -- cgit