1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-24 09:18:09 +00:00

Fix modals

This commit is contained in:
Vladimir Volek 2018-08-30 14:25:49 +02:00
parent 3fcb9dc25f
commit 5c89786452

View File

@ -92,8 +92,8 @@ class Modal extends Component<Props> {
render() { render() {
if (!this.props.modal.opened) return null; if (!this.props.modal.opened) return null;
const { opened } = this.props.modal; const { opened, windowType } = this.props.modal;
const windowType = CONNECT.REMEMBER_REQUEST;
let component = null; let component = null;
switch (windowType) { switch (windowType) {
case UI.REQUEST_PIN: case UI.REQUEST_PIN: