diff --git a/apps/wallet/src/ui/app/hooks/useGetAllCoins.ts b/apps/wallet/src/ui/app/hooks/useGetAllCoins.ts index 65b3e254b13b8..f342a3e083e78 100644 --- a/apps/wallet/src/ui/app/hooks/useGetAllCoins.ts +++ b/apps/wallet/src/ui/app/hooks/useGetAllCoins.ts @@ -35,7 +35,8 @@ export function useGetAllCoins(coinType: string, address?: SuiAddress | null) { return allData; }, - enabled: !!address, + enabled: !!address && !!coinType, + staleTime: 5000, initialData: [], }); }