1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-28 03:08:30 +00:00

Fix modal functionality

This commit is contained in:
Vladimir Volek 2018-08-30 16:22:16 +02:00
parent 2ca9e09ed9
commit 221f988fef

View File

@ -90,8 +90,7 @@ class Modal extends Component<Props> {
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) {