Skip to content

Commit 2fccce5

Browse files
author
tiltom
authored
SOV-5075: Fix osSOV USD value (#1093)
* Fix osSOV USD value * Create pretty-bikes-relate.md
1 parent 3168a48 commit 2fccce5

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

.changeset/pretty-bikes-relate.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"frontend": patch
3+
---
4+
5+
SOV-5075: Fix osSOV USD value

apps/frontend/src/hooks/useDollarValue.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ export function useDollarValue(
3434
);
3535

3636
const entry = useMemo(() => {
37+
if (asset.toUpperCase() === COMMON_SYMBOLS.OSSOV) {
38+
return COMMON_SYMBOLS.SOV;
39+
}
40+
3741
if (isRskChain(chain)) {
3842
if (asset.toUpperCase() === COMMON_SYMBOLS.ZUSD) {
3943
return COMMON_SYMBOLS.XUSD;

0 commit comments

Comments
 (0)