Skip to content

Commit

Permalink
Merge pull request #293 from omnisat/bug/race-condition
Browse files Browse the repository at this point in the history
Fix occasional error on page reload for an already connected wallet
  • Loading branch information
hathbanger authored Jan 7, 2025
2 parents cc57e99 + 49d8cf0 commit 562d9f1
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions packages/lasereyes-core/src/client/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,17 @@ export function createStores(): {
accounts: [],
balance: undefined,
hasProvider: {
[LEATHER]: false,
[UNISAT]: false,
[MAGIC_EDEN]: false,
[OKX]: false,
[OP_NET]: false,
[ORANGE]: false,
[OYL]: false,
[LEATHER]: undefined,
[UNISAT]: undefined,
[MAGIC_EDEN]: undefined,
[OKX]: undefined,
[OP_NET]: undefined,
[ORANGE]: undefined,
[OYL]: undefined,
[SPARROW]: true,
[PHANTOM]: false,
[WIZZ]: false,
[XVERSE]: false,
[PHANTOM]: undefined,
[WIZZ]: undefined,
[XVERSE]: undefined,
},
}),
$network: atom(MAINNET),
Expand Down

0 comments on commit 562d9f1

Please sign in to comment.