mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 09:57:02 +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', {
|
||||
style: {
|
||||
backgroundImage: `url(images/contract/${logo})`,
|
||||
backgroundImage: logo && `url(images/contract/${logo})`,
|
||||
},
|
||||
}),
|
||||
h('div.add-token__token-data', [
|
||||
|
Loading…
Reference in New Issue
Block a user