Skip to content

Commit 2bba396

Browse files
committed
change broker id to demo
1 parent 3e16d7a commit 2bba396

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.env

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ VITE_NAME="Orderly DEX"
22
VITE_DESCRIPTION="Example DEX implementation using Orderly's React Hooks SDK"
33
VITE_WALLETCONNECT_DAPP_URL=https://orderlynetwork.github.io/example-dex
44
VITE_WALLETCONNECT_PROJECT_ID=5f4e967f02cf92c8db957c56e877e149
5-
VITE_BROKER_ID=orderly
5+
VITE_BROKER_ID=demo
66
VITE_BROKER_NAME="Orderly Network"

app/components/Assets.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export const Assets: FC = () => {
3737
});
3838
const balance = useMemo(
3939
() => (status >= AccountStatusEnum.Connected ? deposit.balance : undefined),
40-
[status, deposit]
40+
[status, deposit, account.chainId]
4141
);
4242
const { withdraw, availableWithdraw } = useWithdraw();
4343

0 commit comments

Comments
 (0)