Skip to content

Commit

Permalink
fix: undefined useAccountsFetch queryFn return (#8543)
Browse files Browse the repository at this point in the history
Co-authored-by: gomes <[email protected]>
  • Loading branch information
0xApotheosis and gomesalexandre authored Jan 14, 2025
1 parent 5fcf871 commit 20edb47
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
@@ -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()

0 comments on commit 20edb47

Please sign in to comment.