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

This reverts commit ee21d3ec13.
pull/412/head
Jan Czibula 5 years ago
parent ee21d3ec13
commit 364df753b1

@ -51,7 +51,7 @@ const DeviceSettings = (props: Props) => (
/> />
<StyledH1>Device settings is under construction</StyledH1> <StyledH1>Device settings is under construction</StyledH1>
<StyledP>Please use Bitcoin wallet interface to change your device settings</StyledP> <StyledP>Please use Bitcoin wallet interface to change your device settings</StyledP>
<Link href={getOldWalletUrl(props.device)} target="_self"> <Link href={getOldWalletUrl(props.device)}>
<Button>Take me to the Bitcoin wallet</Button> <Button>Take me to the Bitcoin wallet</Button>
</Link> </Link>
</Row> </Row>

@ -130,7 +130,7 @@ const FirmwareUpdate = (props: Props) => (
</Image> </Image>
<H1>Its time to update your firmware</H1> <H1>Its time to update your firmware</H1>
<StyledP>Please use Bitcoin wallet interface to update your firmware.</StyledP> <StyledP>Please use Bitcoin wallet interface to update your firmware.</StyledP>
<Link href={getOldWalletReleaseUrl(props.device)} target="_self"> <Link href={getOldWalletReleaseUrl(props.device)}>
<Button>Take me to the Bitcoin wallet</Button> <Button>Take me to the Bitcoin wallet</Button>
</Link> </Link>
{deviceUtils.isDeviceAccessible(props.device) && ( {deviceUtils.isDeviceAccessible(props.device) && (

@ -38,7 +38,7 @@ const Initialize = (props: Props) => (
<Row> <Row>
<H1>Your device is not initialized</H1> <H1>Your device is not initialized</H1>
<StyledParagraph>Please use Bitcoin wallet interface to start initialization process</StyledParagraph> <StyledParagraph>Please use Bitcoin wallet interface to start initialization process</StyledParagraph>
<A href={getOldWalletUrl(props.device)} target="_self"> <A href={getOldWalletUrl(props.device)}>
<Button>Take me to the Bitcoin wallet</Button> <Button>Take me to the Bitcoin wallet</Button>
</A> </A>
</Row> </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> <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> <P>Please use Bitcoin wallet interface to create a backup.</P>
</Message> </Message>
<Link href={`${getOldWalletUrl(props.device)}?backup=1`} target="_self"> <Link href={`${getOldWalletUrl(props.device)}?backup=1`}>
<Button>Take me to the Bitcoin wallet</Button> <Button>Take me to the Bitcoin wallet</Button>
</Link> </Link>
<StyledNavLink to="/">Ill do that later.</StyledNavLink> <StyledNavLink to="/">Ill do that later.</StyledNavLink>

Loading…
Cancel
Save