mirror of
https://github.com/trezor/trezor-wallet
synced 2025-01-07 14:50:52 +00:00
Merge pull request #432 from trezor/fix/close-external-wallet-modals
close xlm, xem modals when opening external wallet
This commit is contained in:
commit
d169c17480
2
src/components/modals/external/Nem/index.js
vendored
2
src/components/modals/external/Nem/index.js
vendored
@ -60,7 +60,7 @@ const NemWallet = (props: Props) => (
|
||||
</H4>
|
||||
<Img src={NemImage} />
|
||||
<Link href={coins.find(i => i.id === 'xem').url}>
|
||||
<StyledButton>
|
||||
<StyledButton onClick={props.onCancel}>
|
||||
<FormattedMessage {...l10nMessages.TR_GO_TO_NEM_DOT_IO} />
|
||||
</StyledButton>
|
||||
</Link>
|
||||
|
@ -62,7 +62,7 @@ const StellarWallet = (props: Props) => (
|
||||
</P>
|
||||
|
||||
<Link href={coins.find(i => i.id === 'xlm').url}>
|
||||
<StyledButton>
|
||||
<StyledButton onClick={props.onCancel}>
|
||||
<FormattedMessage {...l10nCommonMessages.TR_GO_TO_EXTERNAL_WALLET} />
|
||||
</StyledButton>
|
||||
</Link>
|
||||
|
Loading…
Reference in New Issue
Block a user