From 5c89786452a63edbc0ad53db9c2d4fdc8423ae5d Mon Sep 17 00:00:00 2001 From: Vladimir Volek Date: Thu, 30 Aug 2018 14:25:49 +0200 Subject: [PATCH] Fix modals --- src/components/modal/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/modal/index.js b/src/components/modal/index.js index 57e5d8fd..0709617b 100644 --- a/src/components/modal/index.js +++ b/src/components/modal/index.js @@ -92,8 +92,8 @@ class Modal extends Component { render() { if (!this.props.modal.opened) return null; - const { opened } = this.props.modal; - const windowType = CONNECT.REMEMBER_REQUEST; + const { opened, windowType } = this.props.modal; + let component = null; switch (windowType) { case UI.REQUEST_PIN: