Skip to content

Commit

Permalink
fix: undefined useAccountsFetch queryFn return
Browse files Browse the repository at this point in the history
  • Loading branch information
0xApotheosis committed Jan 13, 2025
1 parent b25b002 commit 1ebe34e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/context/AppProvider/hooks/useAccountsFetchQuery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 1ebe34e

Please sign in to comment.