diff --git a/index.html b/index.html index 9c77eb6..a2a8740 100644 --- a/index.html +++ b/index.html @@ -688,9 +688,9 @@ ] } const currencyIcons = { - btc: ` `, + btc: ``, usd: ``, - inr: `` + inr: `` } function formatAmount(amount = 0) { // check if amount is a string and convert it to a number @@ -981,14 +981,15 @@ }) } function addReceiver() { + const domParser = new DOMParser() + const currencyIcon = domParser.parseFromString(currencyIcons[selectedCurrency], 'image/svg+xml').rootElement getRef('receivers_container').append(html.node/*html*/`