mirror of
https://github.com/trezor/trezor-wallet
synced 2025-01-05 22:00:59 +00:00
#410 Link to "bitcoin wallet" shouldn't be opened in new tab
This commit is contained in:
parent
77e4f349e7
commit
d45a4b7eca
@ -51,7 +51,7 @@ const DeviceSettings = (props: Props) => (
|
||||
/>
|
||||
<StyledH1>Device settings is under construction</StyledH1>
|
||||
<StyledP>Please use Bitcoin wallet interface to change your device settings</StyledP>
|
||||
<Link href={getOldWalletUrl(props.device)}>
|
||||
<Link href={getOldWalletUrl(props.device)} target="_self">
|
||||
<Button>Take me to the Bitcoin wallet</Button>
|
||||
</Link>
|
||||
</Row>
|
||||
|
@ -130,7 +130,7 @@ const FirmwareUpdate = (props: Props) => (
|
||||
</Image>
|
||||
<H1>It’s time to update your firmware</H1>
|
||||
<StyledP>Please use Bitcoin wallet interface to update your firmware.</StyledP>
|
||||
<Link href={getOldWalletReleaseUrl(props.device)}>
|
||||
<Link href={getOldWalletReleaseUrl(props.device)} target="_self">
|
||||
<Button>Take me to the Bitcoin wallet</Button>
|
||||
</Link>
|
||||
{deviceUtils.isDeviceAccessible(props.device) && (
|
||||
|
@ -38,7 +38,7 @@ const Initialize = (props: Props) => (
|
||||
<Row>
|
||||
<H1>Your device is not initialized</H1>
|
||||
<StyledParagraph>Please use Bitcoin wallet interface to start initialization process</StyledParagraph>
|
||||
<A href={getOldWalletUrl(props.device)}>
|
||||
<A href={getOldWalletUrl(props.device)} target="_self">
|
||||
<Button>Take me to the Bitcoin wallet</Button>
|
||||
</A>
|
||||
</Row>
|
||||
|
@ -57,7 +57,7 @@ const FirmwareUpdate = (props: Props) => (
|
||||
<StyledP>If your device is ever lost or damaged, your funds will be lost. Backup your device first, to protect your coins against such events.</StyledP>
|
||||
<P>Please use Bitcoin wallet interface to create a backup.</P>
|
||||
</Message>
|
||||
<Link href={`${getOldWalletUrl(props.device)}?backup=1`}>
|
||||
<Link href={`${getOldWalletUrl(props.device)}?backup=1`} target="_self">
|
||||
<Button>Take me to the Bitcoin wallet</Button>
|
||||
</Link>
|
||||
<StyledNavLink to="/">I’ll do that later.</StyledNavLink>
|
||||
|
Loading…
Reference in New Issue
Block a user