Skip to content

Commit

Permalink
feat(ui): Set network reset in use-wallet so Reti client always uses …
Browse files Browse the repository at this point in the history
…right network as deploys change over time.

chore: Update use-wallet-react version
  • Loading branch information
pbennett committed Sep 13, 2024
1 parent 2889481 commit d863eb8
Show file tree
Hide file tree
Showing 3 changed files with 119 additions and 36 deletions.
150 changes: 115 additions & 35 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"@tanstack/react-table": "8.20.5",
"@tanstack/router-devtools": "1.56.5",
"@tremor/react": "3.18.1",
"@txnlab/use-wallet-react": "3.3.0",
"@txnlab/use-wallet-react": "3.4.0",
"@walletconnect/modal-sign-html": "2.6.2",
"algosdk": "^2.9.0",
"axios": "1.7.4",
Expand Down
3 changes: 3 additions & 0 deletions ui/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ const walletManager = new WalletManager({
port: algodConfig.port,
token: algodConfig.token as string,
},
options: {
resetNetwork: true,
},
})

// Tanstack Query client instance
Expand Down

0 comments on commit d863eb8

Please sign in to comment.