From 3b7b2a4b82ff8c37959e03a533a240b66dab259f Mon Sep 17 00:00:00 2001 From: Vladimir Volek Date: Tue, 26 Feb 2019 14:20:52 +0100 Subject: [PATCH] Fix url in modal --- src/components/modals/confirm/NoBackup/index.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/modals/confirm/NoBackup/index.js b/src/components/modals/confirm/NoBackup/index.js index 61d04230..b94af096 100644 --- a/src/components/modals/confirm/NoBackup/index.js +++ b/src/components/modals/confirm/NoBackup/index.js @@ -5,7 +5,7 @@ import PropTypes from 'prop-types'; import styled from 'styled-components'; import icons from 'config/icons'; -import urlConstants from 'constants/urls'; +import { getOldWalletUrl } from 'utils/url'; import colors from 'config/colors'; import { H2 } from 'components/Heading'; @@ -14,10 +14,12 @@ import Icon from 'components/Icon'; import Button from 'components/Button'; import Link from 'components/Link'; +import type { TrezorDevice } from 'flowtype'; import type { Props as BaseProps } from '../../Container'; type Props = { onReceiveConfirmation: $ElementType<$ElementType, 'onReceiveConfirmation'>; + device: ?TrezorDevice; } const Wrapper = styled.div` @@ -68,7 +70,7 @@ const Confirmation = (props: Props) => ( If your device is ever lost or damaged, your funds will be lost. Backup your device first, to protect your coins against such events. - + props.onReceiveConfirmation(false)}>Create a backup in 3 minutes props.onReceiveConfirmation(true)}>Show address, I will take the risk