1 parent ae37a0a commit 12e1b5fCopy full SHA for 12e1b5f
1 file changed
gateway-web/app/components/DashboardPage.tsx
@@ -67,16 +67,14 @@ export const DashboardPage: React.FC<DashboardPageProps> = ({ username }) => {
67
setError(null);
68
69
try {
70
- // Fetch from contract
71
const raw: ContractWallet[] = await getUserWallets(username);
72
73
- // Map to WalletUI
74
const formatted: WalletUI[] = raw.map((w) => ({
75
chainSymbol: w.chain_symbol,
76
address: w.address,
77
- memo: w.memo ?? undefined,
78
- tag: w.tag ?? undefined,
79
- metadata: w.metadata ?? undefined,
+ memo: w.memo,
+ tag: w.tag,
+ metadata: w.metadata,
80
updatedAt: w.updated_at,
81
chainName: getChainName(w.chain_symbol),
82
}));
0 commit comments