From 221f988fef16ac3cc0bf9a505a3f5eebf21a1c46 Mon Sep 17 00:00:00 2001 From: Vladimir Volek Date: Thu, 30 Aug 2018 16:22:16 +0200 Subject: [PATCH] Fix modal functionality --- src/components/modals/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/modals/index.js b/src/components/modals/index.js index 197f2c32..fa0596ad 100644 --- a/src/components/modals/index.js +++ b/src/components/modals/index.js @@ -90,8 +90,7 @@ class Modal extends Component { render() { if (!this.props.modal.opened) return null; - const { opened } = this.props.modal; - const windowType = RECEIVE.REQUEST_UNVERIFIED; + const { opened, windowType } = this.props.modal; let component = null; switch (windowType) {