From 77d1fc09f3e728b4bda1fc35a5341aa712ddec5b Mon Sep 17 00:00:00 2001 From: JSKitty Date: Wed, 30 Aug 2023 16:49:32 +0100 Subject: [PATCH] Fix Unstake Currency display This commit simply fixes a bug in which the "Unstake Value Currency", i.e: USD, was always stuck to USD, as it wasn't being updated when currency tickers were changed. --- scripts/global.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/global.js b/scripts/global.js index c88280b40..c5292d72f 100644 --- a/scripts/global.js +++ b/scripts/global.js @@ -613,7 +613,7 @@ export function updateTicker() { doms.domStakeAmountCoinsTicker.innerText = cChainParams.current.TICKER; // Unstake - doms.domStakeAmountValueCurrency.innerText = strCurrency.toUpperCase(); + doms.domUnstakeAmountValueCurrency.innerText = strCurrency.toUpperCase(); doms.domUnstakeAmountCoinsTicker.innerText = cChainParams.current.TICKER; }