mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-28 03:08:30 +00:00
Fix modals
This commit is contained in:
parent
3fcb9dc25f
commit
5c89786452
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user