Skip to content

Commit

Permalink
chore: add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
wa0x6e committed Jul 24, 2024
1 parent 433aa70 commit 32bab5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/ui/src/composables/useAccount.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export function useAccount() {
const account = web3.value.account;
if (!account) return;

// On starknet account, we don't load votes for offchain networks (unsupported)
if (web3.value.type === 'argentx' && offchainNetworks.includes(networkId)) return;

const network = getNetwork(networkId);
Expand Down

0 comments on commit 32bab5f

Please sign in to comment.