diff --git a/src/utils/utils.ts b/src/utils/utils.ts index 36936d5..f7bcb07 100644 --- a/src/utils/utils.ts +++ b/src/utils/utils.ts @@ -23,7 +23,7 @@ export const trim = (str = '', ch?: string) => { export const toUiAmount = (amount: number) => { if (!amount) return 0; - let value; + let value: string; if (amount >= 1000000000) { const formattedNumber = (amount / 1000000000).toFixed(1);