mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 18:00:18 +01:00
add token - check for logo url before trying to use
This commit is contained in:
parent
40484b1c1f
commit
40537f9290
@ -240,7 +240,7 @@ AddTokenScreen.prototype.renderTokenList = function () {
|
|||||||
}, [
|
}, [
|
||||||
h('div.add-token__token-icon', {
|
h('div.add-token__token-icon', {
|
||||||
style: {
|
style: {
|
||||||
backgroundImage: `url(images/contract/${logo})`,
|
backgroundImage: logo && `url(images/contract/${logo})`,
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
h('div.add-token__token-data', [
|
h('div.add-token__token-data', [
|
||||||
|
Loading…
Reference in New Issue
Block a user