1
0
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:
kumavis 2018-02-28 14:04:32 -08:00
parent 40484b1c1f
commit 40537f9290

View File

@ -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', [