Skip to content

Commit

Permalink
Merge pull request WalletConnect#1581 from solo-daemon/update-web3-mo…
Browse files Browse the repository at this point in the history
…dal-next-js-docs

Update web3 Modal NextJs docs
  • Loading branch information
Glitch authored Jun 3, 2024
2 parents 13dcb8d + 6856550 commit 99bb491
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions docs/web3modal/nextjs/wagmi/about/implementation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -159,12 +159,9 @@ Create a new file for your Wagmi configuration, since we are going to be calling
For this example we will create a file called `config/index.tsx` outside our app directory and set up the following configuration

```tsx
import { defaultWagmiConfig } from '@web3modal/wagmi/react/config'
import { walletConnect } from '@web3modal/wagmi'

import { cookieStorage, createStorage } from 'wagmi'
import { createConfig, cookieStorage, createStorage, http } from 'wagmi'
import { mainnet, sepolia } from 'wagmi/chains'
import { injected, coinbaseWallet } from 'wagmi/connectors'
import { injected, coinbaseWallet, walletConnect } from 'wagmi/connectors'

// Get projectId at https://cloud.walletconnect.com
export const projectId = process.env.NEXT_PUBLIC_PROJECT_ID
Expand Down

0 comments on commit 99bb491

Please sign in to comment.