Skip to content

Commit

Permalink
Update wallet.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
1Mateus committed Aug 22, 2023
1 parent 88d973c commit 3eba7d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/front/src/store/wallet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export const useWallet = create<WalletStore>((set, get) => ({
if ("account_id" in token) return token;
});

if (!token) return;
if (!token || !accountId) return;

const balance = await viewBalance(token.account_id, accountId);

Expand Down

0 comments on commit 3eba7d1

Please sign in to comment.