From 92a72dacda87fcd283dd6bc0c4b0cb83fec5227e Mon Sep 17 00:00:00 2001 From: Darren Kelly <107671032+darrenvechain@users.noreply.github.com> Date: Mon, 15 Jan 2024 10:00:58 +0000 Subject: [PATCH] fix: update dapp kit conditional (#177) --- packages/dapp-kit-ui/src/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/dapp-kit-ui/src/client.ts b/packages/dapp-kit-ui/src/client.ts index 7025a3e9..fa673c01 100644 --- a/packages/dapp-kit-ui/src/client.ts +++ b/packages/dapp-kit-ui/src/client.ts @@ -32,7 +32,7 @@ export const DAppKitUI = { CustomWalletConnectModal.getInstance(); } dappKitOptions = options; - if (!dappKit) dappKit = new DAppKit(options); + dappKit = new DAppKit(options); // init modal so that on the first opening it doesn't have to create it ConnectModalManager.getInstance(this.wallet, {