1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-01-22 14:00:58 +00:00

close xlm, xem modals when opening external wallet

This commit is contained in:
slowbackspace 2019-03-05 11:40:46 +01:00
parent 5384bbdc02
commit b531b72cc3
2 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ const NemWallet = (props: Props) => (
</H4> </H4>
<Img src={NemImage} /> <Img src={NemImage} />
<Link href={coins.find(i => i.id === 'xem').url}> <Link href={coins.find(i => i.id === 'xem').url}>
<StyledButton> <StyledButton onClick={props.onCancel}>
<FormattedMessage {...l10nMessages.TR_GO_TO_NEM_DOT_IO} /> <FormattedMessage {...l10nMessages.TR_GO_TO_NEM_DOT_IO} />
</StyledButton> </StyledButton>
</Link> </Link>

View File

@ -62,7 +62,7 @@ const StellarWallet = (props: Props) => (
</P> </P>
<Link href={coins.find(i => i.id === 'xlm').url}> <Link href={coins.find(i => i.id === 'xlm').url}>
<StyledButton> <StyledButton onClick={props.onCancel}>
<FormattedMessage {...l10nCommonMessages.TR_GO_TO_EXTERNAL_WALLET} /> <FormattedMessage {...l10nCommonMessages.TR_GO_TO_EXTERNAL_WALLET} />
</StyledButton> </StyledButton>
</Link> </Link>