From fa1cc0fc3cfa63b02b070794a96f38d543aa9a57 Mon Sep 17 00:00:00 2001 From: Fara Woolf Date: Thu, 18 Apr 2024 09:57:32 -0500 Subject: [PATCH] fix: add default runes symbol --- src/app/query/bitcoin/runes/runes.hooks.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/query/bitcoin/runes/runes.hooks.ts b/src/app/query/bitcoin/runes/runes.hooks.ts index e734a57ef31..b2198cd483c 100644 --- a/src/app/query/bitcoin/runes/runes.hooks.ts +++ b/src/app/query/bitcoin/runes/runes.hooks.ts @@ -10,10 +10,13 @@ import { useGetRunesOutputsByAddressQuery } from './runes-outputs-by-address.que import { useGetRunesTickerInfoQuery } from './runes-ticker-info.query'; import { useGetRunesWalletBalancesByAddressesQuery } from './runes-wallet-balances.query'; +export const defaultRunesSymbol = 'ยค'; + function makeRuneToken(runeBalance: RuneBalance, tickerInfo: RuneTickerInfo): RuneToken { return { ...runeBalance, ...tickerInfo, + symbol: tickerInfo.symbol ?? defaultRunesSymbol, balance: createMoney( Number(runeBalance.total_balance), tickerInfo.rune_name,