Browse Source
Merge pull request #409 from gre/no-print
feature is broken & not MVP
master
Gaëtan Renaudeau
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
12 deletions
-
src/components/CurrentAddress/index.js
|
|
@ -14,13 +14,11 @@ import { rgba } from 'styles/helpers' |
|
|
|
|
|
|
|
import Box from 'components/base/Box' |
|
|
|
import CopyToClipboard from 'components/base/CopyToClipboard' |
|
|
|
import Print from 'components/base/Print' |
|
|
|
import QRCode from 'components/base/QRCode' |
|
|
|
|
|
|
|
import IconCheck from 'icons/Check' |
|
|
|
import IconCopy from 'icons/Copy' |
|
|
|
import IconInfoCircle from 'icons/InfoCircle' |
|
|
|
import IconPrint from 'icons/Print' |
|
|
|
import IconShare from 'icons/Share' |
|
|
|
import IconShield from 'icons/Shield' |
|
|
|
|
|
|
@ -214,16 +212,6 @@ class CurrentAddress extends PureComponent<Props> { |
|
|
|
<FooterButton icon={<IconCopy size={16} />} label="Copy" onClick={copy} /> |
|
|
|
)} |
|
|
|
/> |
|
|
|
<Print |
|
|
|
data={{ address, amount, accountName }} |
|
|
|
render={(print, isLoading) => ( |
|
|
|
<FooterButton |
|
|
|
icon={<IconPrint size={16} />} |
|
|
|
label={isLoading ? '...' : 'Print'} |
|
|
|
onClick={print} |
|
|
|
/> |
|
|
|
)} |
|
|
|
/> |
|
|
|
<FooterButton icon={<IconShare size={16} />} label="Share" onClick={onShare} /> |
|
|
|
</Footer> |
|
|
|
)} |
|
|
|