Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

Commit

Permalink
nit: code clarifications
Browse files Browse the repository at this point in the history
  • Loading branch information
gregfromstl committed Jun 26, 2024
1 parent 7c21e26 commit 3b21966
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/app/connect/ecosystem-wallet/integrating-partners/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ In the React SDK, provide the wallet as the only option to restrict user logins
```ts
<ConnectButton
client={THIRDWEB_CLIENT}
wallets={[wallet]}
wallets={[wallet]} // Pass a non-gated or restricted wallet to the ConnectButton
{...props}
/>
```
Expand All @@ -55,7 +55,13 @@ Partners that want to utilize your Ecosystem Wallet as an option to their existi
```ts
<ConnectButton
client={THIRDWEB_CLIENT}
wallets={[inAppWallet(), createWallet("io.metamask"), createWallet("ecosystem.your-id")]}
wallets={[
inAppWallet(),
createWallet("io.metamask"),
createWallet("ecosystem.your-id", {
partnerId: "...", // Pass an optional partner ID for restricted ecosystems
})
]}
{...props}
/>
```
Expand Down

0 comments on commit 3b21966

Please sign in to comment.