Browse Source

feature is broken & not MVP

master
Gaëtan Renaudeau 7 years ago
parent
commit
3b1b3f2cfb
  1. 12
      src/components/CurrentAddress/index.js

12
src/components/CurrentAddress/index.js

@ -14,13 +14,11 @@ import { rgba } from 'styles/helpers'
import Box from 'components/base/Box' import Box from 'components/base/Box'
import CopyToClipboard from 'components/base/CopyToClipboard' import CopyToClipboard from 'components/base/CopyToClipboard'
import Print from 'components/base/Print'
import QRCode from 'components/base/QRCode' import QRCode from 'components/base/QRCode'
import IconCheck from 'icons/Check' import IconCheck from 'icons/Check'
import IconCopy from 'icons/Copy' import IconCopy from 'icons/Copy'
import IconInfoCircle from 'icons/InfoCircle' import IconInfoCircle from 'icons/InfoCircle'
import IconPrint from 'icons/Print'
import IconShare from 'icons/Share' import IconShare from 'icons/Share'
import IconShield from 'icons/Shield' import IconShield from 'icons/Shield'
@ -214,16 +212,6 @@ class CurrentAddress extends PureComponent<Props> {
<FooterButton icon={<IconCopy size={16} />} label="Copy" onClick={copy} /> <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} /> <FooterButton icon={<IconShare size={16} />} label="Share" onClick={onShare} />
</Footer> </Footer>
)} )}

Loading…
Cancel
Save