Skip to content

Commit be547c4

Browse files
committed
address reviewer comments
1 parent 1921aab commit be547c4

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

sdk/quickstart/javascript-web3auth.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ toc_max_heading_level: 2
99
Get started with MetaMask SDK and [Web3Auth SDK](https://web3auth.io/docs/).
1010
You can set up the SDKs in the following ways:
1111

12-
- [Quickstart template](#set-up-using-a-template) - Clone the template to set up a Next.js and Wagmi dapp with both SDKs.
12+
- [Quickstart template](#set-up-using-a-template) - Clone the template to set up a Next.js and Web3Auth dapp with both SDKs.
1313
- [Manual setup](#set-up-manually) - Set up both SDKs in an existing dapp.
1414

1515
Features include:
@@ -89,7 +89,7 @@ Set up your providers in `app/providers.tsx`:
8989
"use client";
9090
9191
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
92-
import { type ReactNode, useState } from "react";
92+
import { type ReactNode, useState, useEffect } from "react";
9393
import { Web3AuthProvider } from "@web3auth/modal/react";
9494
import { WagmiProvider } from "@web3auth/modal/react/wagmi";
9595
import { MetaMaskSDK } from "@metamask/sdk";
@@ -122,8 +122,7 @@ export function Providers({ children }: Props) {
122122
config={{
123123
web3AuthOptions: {
124124
clientId: process.env.NEXT_PUBLIC_WEB3AUTH_CLIENT_ID!,
125-
web3AuthNetwork: "sapphire_devnet",
126-
authBuildEnv: "testing", // Optional: Only for alpha/testing
125+
web3AuthNetwork: "sapphire_devnet"
127126
},
128127
}}
129128
>

0 commit comments

Comments
 (0)