diff --git a/apps/example/src/App.tsx b/apps/example/src/App.tsx index 94fec73b..8fead26a 100644 --- a/apps/example/src/App.tsx +++ b/apps/example/src/App.tsx @@ -144,7 +144,9 @@ const Query = () => {

Total value staked

- {useNativeTokenNumberWithPlanck(totalStaked ?? 0n).toLocaleString()} + {useNativeTokenNumberWithPlanck( + typeof totalStaked === "bigint" ? totalStaked : 0n, + ).toLocaleString()}