1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-27 18:58:08 +00:00

Close popup after click on exernal link

This commit is contained in:
Vladimir Volek 2019-01-07 15:22:04 +01:00
parent e750fc2da6
commit 76f4eff5f5

View File

@ -58,7 +58,7 @@ const CardanoWallet = (props: Props) => (
<P isSmaller>You will be redirected to external wallet</P> <P isSmaller>You will be redirected to external wallet</P>
<Link href={coins.find(i => i.id === 'ada').url}> <Link href={coins.find(i => i.id === 'ada').url}>
<StyledButton>Go to external wallet</StyledButton> <StyledButton onClick={props.onCancel}>Go to external wallet</StyledButton>
</Link> </Link>
</Wrapper> </Wrapper>
); );