Skip to content

Commit f7a4a46

Browse files
committed
[SDK] Fix: Connect to correct chain with guest account (#5426)
CNCT-2370 <!-- start pr-codex --> --- ## PR-Codex overview This PR adds support for the `chain` property in the `connectOptions` object within the `ConnectWalletSocialOptions.tsx` file, enhancing the flexibility of wallet connections based on the provided chain. ### Detailed summary - Added `chain: props.chain` to the `connectOptions` object. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent 895b4d1 commit f7a4a46

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/thirdweb/src/react/web/wallets/shared/ConnectWalletSocialOptions.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ export const ConnectWalletSocialOptions = (
214214
client: props.client,
215215
ecosystem: ecosystemInfo,
216216
strategy: "guest" as const,
217+
chain: props.chain,
217218
};
218219
const connectPromise = (async () => {
219220
const result = await wallet.connect(connectOptions);

0 commit comments

Comments
 (0)