We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e16d7a commit 2bba396Copy full SHA for 2bba396
.env
@@ -2,5 +2,5 @@ VITE_NAME="Orderly DEX"
2
VITE_DESCRIPTION="Example DEX implementation using Orderly's React Hooks SDK"
3
VITE_WALLETCONNECT_DAPP_URL=https://orderlynetwork.github.io/example-dex
4
VITE_WALLETCONNECT_PROJECT_ID=5f4e967f02cf92c8db957c56e877e149
5
-VITE_BROKER_ID=orderly
+VITE_BROKER_ID=demo
6
VITE_BROKER_NAME="Orderly Network"
app/components/Assets.tsx
@@ -37,7 +37,7 @@ export const Assets: FC = () => {
37
});
38
const balance = useMemo(
39
() => (status >= AccountStatusEnum.Connected ? deposit.balance : undefined),
40
- [status, deposit]
+ [status, deposit, account.chainId]
41
);
42
const { withdraw, availableWithdraw } = useWithdraw();
43
0 commit comments