mirror of
https://github.com/trezor/trezor-wallet
synced 2025-01-07 14:50:52 +00:00
Merge pull request #413 from trezor/fix/link-to-bitcoin-wallet
Link to "bitcoin wallet" shouldn't be opened in new tab
This commit is contained in:
commit
9902a0c21c
@ -70,7 +70,7 @@ const Confirmation = (props: Props) => (
|
|||||||
<Icon size={48} color={colors.WARNING_PRIMARY} icon={icons.WARNING} />
|
<Icon size={48} color={colors.WARNING_PRIMARY} icon={icons.WARNING} />
|
||||||
<StyledP isSmaller>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 isSmaller>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>
|
||||||
<Row>
|
<Row>
|
||||||
<Link href={`${getOldWalletUrl(props.device)}/?backup`}>
|
<Link href={`${getOldWalletUrl(props.device)}/?backup`} target="_self">
|
||||||
<BackupButton onClick={() => props.onReceiveConfirmation(false)}>Create a backup in 3 minutes</BackupButton>
|
<BackupButton onClick={() => props.onReceiveConfirmation(false)}>Create a backup in 3 minutes</BackupButton>
|
||||||
</Link>
|
</Link>
|
||||||
<ProceedButton isWhite onClick={() => props.onReceiveConfirmation(true)}>Show address, I will take the risk</ProceedButton>
|
<ProceedButton isWhite onClick={() => props.onReceiveConfirmation(true)}>Show address, I will take the risk</ProceedButton>
|
||||||
|
@ -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)}>
|
<Link href={getOldWalletUrl(props.device)} target="_self">
|
||||||
<Button>Take me to the Bitcoin wallet</Button>
|
<Button>Take me to the Bitcoin wallet</Button>
|
||||||
</Link>
|
</Link>
|
||||||
</Row>
|
</Row>
|
||||||
|
@ -137,7 +137,7 @@ const FirmwareUpdate = (props: Props) => (
|
|||||||
<StyledP>
|
<StyledP>
|
||||||
<FormattedMessage {...l10nMessages.TR_PLEASE_USE_OLD_WALLET} />
|
<FormattedMessage {...l10nMessages.TR_PLEASE_USE_OLD_WALLET} />
|
||||||
</StyledP>
|
</StyledP>
|
||||||
<Link href={getOldWalletReleaseUrl(props.device)}>
|
<Link href={getOldWalletReleaseUrl(props.device)} target="_self">
|
||||||
<Button>
|
<Button>
|
||||||
<FormattedMessage {...l10nCommonMessages.TR_TAKE_ME_TO_BITCOIN_WALLET} />
|
<FormattedMessage {...l10nCommonMessages.TR_TAKE_ME_TO_BITCOIN_WALLET} />
|
||||||
</Button>
|
</Button>
|
||||||
|
@ -42,7 +42,7 @@ const Initialize = (props: Props) => (
|
|||||||
<Row>
|
<Row>
|
||||||
<H1><FormattedMessage {...l10nMessages.TR_YOUR_DEVICE_IS_NOT_INITIALIZED} /></H1>
|
<H1><FormattedMessage {...l10nMessages.TR_YOUR_DEVICE_IS_NOT_INITIALIZED} /></H1>
|
||||||
<StyledParagraph><FormattedMessage {...l10nMessages.TR_PLEASE_USE_TO_START_INITIALIZATION} /></StyledParagraph>
|
<StyledParagraph><FormattedMessage {...l10nMessages.TR_PLEASE_USE_TO_START_INITIALIZATION} /></StyledParagraph>
|
||||||
<A href={getOldWalletUrl(props.device)}>
|
<A href={getOldWalletUrl(props.device)} target="_self">
|
||||||
<Button><FormattedMessage {...l10nCommonMessages.TR_TAKE_ME_TO_BITCOIN_WALLET} /></Button>
|
<Button><FormattedMessage {...l10nCommonMessages.TR_TAKE_ME_TO_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`}>
|
<Link href={`${getOldWalletUrl(props.device)}?backup=1`} target="_self">
|
||||||
<Button>Take me to the Bitcoin wallet</Button>
|
<Button>Take me to the Bitcoin wallet</Button>
|
||||||
</Link>
|
</Link>
|
||||||
<StyledNavLink to="/">I’ll do that later.</StyledNavLink>
|
<StyledNavLink to="/">I’ll do that later.</StyledNavLink>
|
||||||
|
Loading…
Reference in New Issue
Block a user