Skip to content

Commit

Permalink
chore: Clean up console.log in useWallet.ts (#406)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdankel authored Oct 19, 2024
1 parent 7871eef commit 9945f18
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/react/src/hooks/useWallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,9 @@ export function useWallet(
queryKey: QUERY_KEYS.wallet(account, network?.url),
queryFn: async () => {
try {
console.log('asd useWallet querying start', account, network?.url);
if (!account || !network?.url) return null;
await Address.fromString(account);
const wallet = await fuel.getWallet(account);

console.log('asd useWallet querying completed', wallet);

const configuredNetwork = networks.find(
(n) => n.chainId === network.chainId,
);
Expand Down

0 comments on commit 9945f18

Please sign in to comment.