style(wallet): Change import from using single icon export to using ICONS namespace

This commit is contained in:
hack.ily 2019-10-31 23:53:56 -07:00 committed by Sean Yesmunt
parent 18ac6fd82d
commit 74a493c8ef

View file

@ -1,6 +1,6 @@
// @flow
import React from 'react';
import { REMOVE } from 'constants/icons';
import * as ICONS from 'constants/icons';
import Button from 'component/button';
import CopyableText from 'component/copyableText';
import QRCode from 'component/common/qr-code';
@ -53,7 +53,7 @@ class WalletAddress extends React.PureComponent<Props, State> {
title={
<React.Fragment>
{__('Receive Credits')}
<Button button="close" icon={REMOVE} onClick={() => history.goBack()} />
<Button button="close" icon={ICONS.REMOVE} onClick={() => history.goBack()} />
</React.Fragment>
}
subtitle={__('Use this address to receive LBC.')}