aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/sender-to-recipient/sender-to-recipient.component.js
diff options
context:
space:
mode:
authorEsteban MIno <efmino@uc.cl>2018-08-30 23:59:44 +0800
committerEsteban MIno <efmino@uc.cl>2018-08-30 23:59:44 +0800
commit208312b239355194de13989a3ede57e8d7393949 (patch)
treea794e61194995d188dd2738de842c2733307c829 /ui/app/components/sender-to-recipient/sender-to-recipient.component.js
parent07cb6adc314e645cc0429c696afab9738673a729 (diff)
downloadtangerine-wallet-browser-208312b239355194de13989a3ede57e8d7393949.tar.gz
tangerine-wallet-browser-208312b239355194de13989a3ede57e8d7393949.tar.zst
tangerine-wallet-browser-208312b239355194de13989a3ede57e8d7393949.zip
fix watched asset image rendering on confirm transaction header
Diffstat (limited to 'ui/app/components/sender-to-recipient/sender-to-recipient.component.js')
-rw-r--r--ui/app/components/sender-to-recipient/sender-to-recipient.component.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/app/components/sender-to-recipient/sender-to-recipient.component.js b/ui/app/components/sender-to-recipient/sender-to-recipient.component.js
index 5af4045f5..445a11d8a 100644
--- a/ui/app/components/sender-to-recipient/sender-to-recipient.component.js
+++ b/ui/app/components/sender-to-recipient/sender-to-recipient.component.js
@@ -20,6 +20,7 @@ export default class SenderToRecipient extends PureComponent {
t: PropTypes.func,
variant: PropTypes.oneOf([DEFAULT_VARIANT, CARDS_VARIANT]),
addressOnly: PropTypes.bool,
+ assetImage: PropTypes.string,
}
static defaultProps = {
@@ -66,13 +67,14 @@ export default class SenderToRecipient extends PureComponent {
}
renderRecipientIdenticon () {
- const { recipientAddress } = this.props
+ const { recipientAddress, assetImage } = this.props
return !this.props.addressOnly && (
<div className="sender-to-recipient__sender-icon">
<Identicon
address={recipientAddress}
diameter={24}
+ image={assetImage}
/>
</div>
)