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

Close popup after click on exernal link
pull/322/head
Maroš 5 years ago committed by GitHub
commit 28367cf3ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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>
); );

Loading…
Cancel
Save