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: