From 6a497842e657022ecf0638bcd72969a7db184165 Mon Sep 17 00:00:00 2001 From: plondon Date: Sun, 1 Jul 2018 17:44:55 +0100 Subject: [PATCH] fix(Request): mobile request bitcoin fix --- .../SecondStep/template.success.js | 70 +++++++++---------- 1 file changed, 34 insertions(+), 36 deletions(-) diff --git a/packages/blockchain-wallet-v4-frontend/src/modals/RequestBitcoin/SecondStep/template.success.js b/packages/blockchain-wallet-v4-frontend/src/modals/RequestBitcoin/SecondStep/template.success.js index bfae5a845f2..2d1dcd175b7 100644 --- a/packages/blockchain-wallet-v4-frontend/src/modals/RequestBitcoin/SecondStep/template.success.js +++ b/packages/blockchain-wallet-v4-frontend/src/modals/RequestBitcoin/SecondStep/template.success.js @@ -1,11 +1,11 @@ -import React from 'react' +import React, { Fragment } from 'react' import PropTypes from 'prop-types' import styled from 'styled-components' import { FormattedMessage } from 'react-intl' import { reduxForm } from 'redux-form' import CopyToClipBoard from 'react-copy-to-clipboard' -import { Button, Link, Modal, ModalHeader, ModalBody, ModalFooter, Text } from 'blockchain-info-components' +import { Button, Link, Text } from 'blockchain-info-components' import { Form } from 'components/Form' import CoinDisplay from 'components/Display/CoinDisplay' import FiatDisplay from 'components/Display/FiatDisplay' @@ -34,50 +34,48 @@ const LinkContainer = styled.div` const SubHeader = styled(Text)` margin-bottom: 20px; ` +const Footer = styled.div` + margin-top: 20px; +` const SecondStep = (props) => { const { previousStep, position, total, modalActions, ...rest } = props const { handleSubmit, satoshis, message, link, active } = rest return ( - - - - - -
- - - - - + + + + + + + + + + {satoshis} + {satoshis} + + - - {satoshis} - {satoshis} - - - - - {link} - - - - - - -
- + + {link} + + + + + + + + ) }