#410 Link to "bitcoin wallet" shouldn't be opened in new tab

pull/412/head
Jan Czibula 5 years ago
parent 576cb427de
commit ee21d3ec13

@ -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>Its 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="/">Ill do that later.</StyledNavLink>

Loading…
Cancel
Save