From 190fd70cdbd5f336767041c949f5616dc676d948 Mon Sep 17 00:00:00 2001 From: Naveed Elahi Date: Tue, 12 Mar 2024 18:24:29 +0800 Subject: [PATCH] fix network referencing chain local storage --- demo/react-app/src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/react-app/src/App.tsx b/demo/react-app/src/App.tsx index c1a3f8718..b59d9ceb5 100644 --- a/demo/react-app/src/App.tsx +++ b/demo/react-app/src/App.tsx @@ -19,7 +19,7 @@ function App() { const [chain, setChain] = useState(savedChain || "polygon-mumbai"); const networkChangeHandler = (network: WEB3AUTH_NETWORK_TYPE) => { - window.localStorage.setItem(STORAGE_KEY.BLOCKCHAIN, network); + window.localStorage.setItem(STORAGE_KEY.WEB3AUTH_NETWORK, network); setWeb3AuthNetwork(network); };