Skip to content

Commit 12e1b5f

Browse files
committed
fix bigint
1 parent ae37a0a commit 12e1b5f

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

gateway-web/app/components/DashboardPage.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,16 +67,14 @@ export const DashboardPage: React.FC<DashboardPageProps> = ({ username }) => {
6767
setError(null);
6868

6969
try {
70-
// Fetch from contract
7170
const raw: ContractWallet[] = await getUserWallets(username);
7271

73-
// Map to WalletUI
7472
const formatted: WalletUI[] = raw.map((w) => ({
7573
chainSymbol: w.chain_symbol,
7674
address: w.address,
77-
memo: w.memo ?? undefined,
78-
tag: w.tag ?? undefined,
79-
metadata: w.metadata ?? undefined,
75+
memo: w.memo,
76+
tag: w.tag,
77+
metadata: w.metadata,
8078
updatedAt: w.updated_at,
8179
chainName: getChainName(w.chain_symbol),
8280
}));

0 commit comments

Comments
 (0)