Skip to content

Commit 1f72396

Browse files
authored
docs: Update imports in react v5 adaptor examples (#7469)
1 parent 08834f6 commit 1f72396

File tree

1 file changed

+2
-3
lines changed
  • apps/portal/src/app/react/v5/adapters

1 file changed

+2
-3
lines changed

apps/portal/src/app/react/v5/adapters/page.mdx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,8 @@ You can use the thirdweb SDK within a wagmi application by setting the wagmi con
9292
import { useEffect } from 'react'
9393
import { defineChain } from 'thirdweb'
9494
import { useSetActiveWallet } from 'thirdweb/react'
95-
import { createWalletAdapter } from 'thirdweb/wallets'
95+
import { EIP1193 } from 'thirdweb/wallets'
9696
import { useDisconnect, useSwitchChain, useWalletClient } from 'wagmi'
97-
import { viemAdapter } from "thirdweb/adapters/viem";
9897
import { client } from './client'
9998

10099

@@ -134,7 +133,7 @@ Similarly, you can use the thirdweb SDK with privy by setting the privy wallet a
134133
import { useEffect } from 'react'
135134
import { defineChain } from 'thirdweb'
136135
import { useSetActiveWallet } from 'thirdweb/react'
137-
import { createWalletAdapter } from 'thirdweb/wallets'
136+
import { EIP1193 } from 'thirdweb/wallets'
138137
import { ethers5Adapter } from 'thirdweb/adapters/ethers5';
139138
import { client } from './client'
140139
import { useWallets } from "@privy-io/react-auth";

0 commit comments

Comments
 (0)