1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-12-28 18:08:08 +00:00

Merge pull request #306 from trezor/fix/external-click

Close popup after click on exernal link
This commit is contained in:
Maroš 2019-01-07 17:18:54 +01:00 committed by GitHub
commit 28367cf3ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,7 +58,7 @@ const CardanoWallet = (props: Props) => (
<P isSmaller>You will be redirected to external wallet</P>
<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>
</Wrapper>
);