From 93d9b954f96d6e2077e468df2b7b86623217e3b4 Mon Sep 17 00:00:00 2001 From: Corey Date: Sat, 28 Jun 2025 14:17:15 -0300 Subject: [PATCH 1/3] docs: remove unused viemAdaptor import example --- apps/portal/src/app/react/v5/adapters/page.mdx | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/portal/src/app/react/v5/adapters/page.mdx b/apps/portal/src/app/react/v5/adapters/page.mdx index 56dc5b1b390..65b64a1f11c 100644 --- a/apps/portal/src/app/react/v5/adapters/page.mdx +++ b/apps/portal/src/app/react/v5/adapters/page.mdx @@ -94,7 +94,6 @@ import { defineChain } from 'thirdweb' import { useSetActiveWallet } from 'thirdweb/react' import { createWalletAdapter } from 'thirdweb/wallets' import { useDisconnect, useSwitchChain, useWalletClient } from 'wagmi' -import { viemAdapter } from "thirdweb/adapters/viem"; import { client } from './client' From 7039032991fc33877f4fe61089ac13a711482d05 Mon Sep 17 00:00:00 2001 From: Corey Date: Sat, 28 Jun 2025 14:17:50 -0300 Subject: [PATCH 2/3] docs: add EIP1193 import for clarity --- apps/portal/src/app/react/v5/adapters/page.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/portal/src/app/react/v5/adapters/page.mdx b/apps/portal/src/app/react/v5/adapters/page.mdx index 65b64a1f11c..5f1ec3f3225 100644 --- a/apps/portal/src/app/react/v5/adapters/page.mdx +++ b/apps/portal/src/app/react/v5/adapters/page.mdx @@ -92,7 +92,7 @@ You can use the thirdweb SDK within a wagmi application by setting the wagmi con import { useEffect } from 'react' import { defineChain } from 'thirdweb' import { useSetActiveWallet } from 'thirdweb/react' -import { createWalletAdapter } from 'thirdweb/wallets' +import { EIP1193, createWalletAdapter } from 'thirdweb/wallets' import { useDisconnect, useSwitchChain, useWalletClient } from 'wagmi' import { client } from './client' @@ -133,7 +133,7 @@ Similarly, you can use the thirdweb SDK with privy by setting the privy wallet a import { useEffect } from 'react' import { defineChain } from 'thirdweb' import { useSetActiveWallet } from 'thirdweb/react' -import { createWalletAdapter } from 'thirdweb/wallets' +import { EIP1193, createWalletAdapter } from 'thirdweb/wallets' import { ethers5Adapter } from 'thirdweb/adapters/ethers5'; import { client } from './client' import { useWallets } from "@privy-io/react-auth"; From a4b8390a16b20cfc3616cea526779799f2345555 Mon Sep 17 00:00:00 2001 From: Corey Date: Sat, 28 Jun 2025 15:08:14 -0300 Subject: [PATCH 3/3] docs: remove createWalletAdapter import --- apps/portal/src/app/react/v5/adapters/page.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/portal/src/app/react/v5/adapters/page.mdx b/apps/portal/src/app/react/v5/adapters/page.mdx index 5f1ec3f3225..c74eb14bef9 100644 --- a/apps/portal/src/app/react/v5/adapters/page.mdx +++ b/apps/portal/src/app/react/v5/adapters/page.mdx @@ -92,7 +92,7 @@ You can use the thirdweb SDK within a wagmi application by setting the wagmi con import { useEffect } from 'react' import { defineChain } from 'thirdweb' import { useSetActiveWallet } from 'thirdweb/react' -import { EIP1193, createWalletAdapter } from 'thirdweb/wallets' +import { EIP1193 } from 'thirdweb/wallets' import { useDisconnect, useSwitchChain, useWalletClient } from 'wagmi' import { client } from './client' @@ -133,7 +133,7 @@ Similarly, you can use the thirdweb SDK with privy by setting the privy wallet a import { useEffect } from 'react' import { defineChain } from 'thirdweb' import { useSetActiveWallet } from 'thirdweb/react' -import { EIP1193, createWalletAdapter } from 'thirdweb/wallets' +import { EIP1193 } from 'thirdweb/wallets' import { ethers5Adapter } from 'thirdweb/adapters/ethers5'; import { client } from './client' import { useWallets } from "@privy-io/react-auth";