From 9331f2034b56672e37da377501cdd9c279e3d4e0 Mon Sep 17 00:00:00 2001 From: Samatar26 Date: Thu, 12 Oct 2017 18:01:34 +0100 Subject: [PATCH] Use the correct handler for closing the modal. Relates to #967 --- browser/main/modals/InitModal.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/browser/main/modals/InitModal.js b/browser/main/modals/InitModal.js index 7f8b5b20..832cb86b 100644 --- a/browser/main/modals/InitModal.js +++ b/browser/main/modals/InitModal.js @@ -194,13 +194,13 @@ class InitModal extends React.Component { return (
this.handleKeyDown(e)} + onKeyDown={this.props.close} >
Initialize Storage
- this.handleCloseButtonClick(e)} /> +
Welcome!