Skip to content

Commit

Permalink
Remove unnecessary comma
Browse files Browse the repository at this point in the history
  • Loading branch information
anchaj committed May 26, 2019
1 parent 8ea5386 commit 00a6217
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions js/utils/crypto.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,8 @@ export function renderCryptoIcon(options = {}) {
(attrString, key) => `${attrString} ${key}="${opts.attrs[key]}"`, ''
);
const iconUrl = opts.code ?
`url(${baseIconPath}${opts.code}-icon.png),` :
`url(${baseIconPath}${opts.code}-icon.png)` :
'';
// const defaultIcon = opts.defaultIcon ?
// `url(${opts.defaultIcon})` :
// '';
const style = `style="background-image: ${iconUrl}"`;
return `<i class="cryptoIcon ${opts.className}" ${attrs} ${style}></i>`;
}
Expand Down

0 comments on commit 00a6217

Please sign in to comment.