Skip to content

Commit 9c876f2

Browse files
refactor: disable theautoconnect for the modal when creating the web3config
1 parent a76fb1f commit 9c876f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config/Web3Modal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const metadata = {
1717

1818
const { chains, publicClient } = configureChains([polygonMumbai, mainnet], [walletConnectProvider({ projectId }), publicProvider()]);
1919
export const config = createConfig({
20-
autoConnect: true,
20+
autoConnect: false,
2121
connectors: [
2222
new WalletConnectConnector({ chains, options: { projectId, showQrModal: false, metadata } }),
2323
new EIP6963Connector({ chains }),

0 commit comments

Comments
 (0)