Skip to content

Commit

Permalink
fix big amount bug and 0 balance validation
Browse files Browse the repository at this point in the history
  • Loading branch information
Jibz-Mysten committed May 25, 2023
1 parent d1810e8 commit 0a0aee5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/wallet/src/ui/app/hooks/useGetAllCoins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ export function useGetAllCoins(coinType: string, address?: SuiAddress | null) {

return allData;
},
enabled: !!address,
enabled: !!address && !!coinType,
staleTime: 5000,
initialData: [],
});
}

0 comments on commit 0a0aee5

Please sign in to comment.