Skip to content

Commit

Permalink
Fix Unstake Currency display
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
JSKitty committed Aug 30, 2023
1 parent 6bee33f commit 77d1fc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/global.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 77d1fc0

Please sign in to comment.