mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-30 20:28:09 +00:00
Fix modal functionality
This commit is contained in:
parent
2ca9e09ed9
commit
221f988fef
@ -90,8 +90,7 @@ 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 = RECEIVE.REQUEST_UNVERIFIED;
|
|
||||||
|
|
||||||
let component = null;
|
let component = null;
|
||||||
switch (windowType) {
|
switch (windowType) {
|
||||||
|
Loading…
Reference in New Issue
Block a user