From 1ebe34e16c12b95c31e18eb61324bf9bc11459d0 Mon Sep 17 00:00:00 2001 From: Apotheosis <97164662+0xApotheosis@users.noreply.github.com> Date: Mon, 13 Jan 2025 14:00:52 +1100 Subject: [PATCH] fix: undefined useAccountsFetch queryFn return --- src/context/AppProvider/hooks/useAccountsFetchQuery.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/context/AppProvider/hooks/useAccountsFetchQuery.tsx b/src/context/AppProvider/hooks/useAccountsFetchQuery.tsx index 0a7e32f8980..dda115b634f 100644 --- a/src/context/AppProvider/hooks/useAccountsFetchQuery.tsx +++ b/src/context/AppProvider/hooks/useAccountsFetchQuery.tsx @@ -63,9 +63,9 @@ export const useAccountsFetchQuery = () => { }) }), ) - if (!chainIds.size) return + if (!chainIds.size) return null - if (!wallet || isLedger(wallet)) return + if (!wallet || isLedger(wallet)) return null const walletId = await wallet.getDeviceID()