From 8c3085f8d5d5b480a1eaf5298fd28eb71c445e50 Mon Sep 17 00:00:00 2001 From: Buuh2511 Date: Fri, 27 Sep 2024 13:19:27 +0700 Subject: [PATCH] test & fix wrongnetwork case --- packages/nextjs/app/page.tsx | 2 -- .../WrongNetworkDropdown.tsx | 2 +- .../CustomConnectButton/Wallet.tsx | 3 +++ .../WrongNetworkDropdown.tsx | 2 +- .../contracts/deployedContracts.ts | 2 +- packages/nextjs/styles/globals.css | 5 ++++ yarn.lock | 24 +++++++++---------- 7 files changed, 23 insertions(+), 17 deletions(-) diff --git a/packages/nextjs/app/page.tsx b/packages/nextjs/app/page.tsx index 9255d0a..84f563c 100644 --- a/packages/nextjs/app/page.tsx +++ b/packages/nextjs/app/page.tsx @@ -56,8 +56,6 @@ const Home = () => { }, }); - console.log("eventHistoryData", eventHistoryData); - const { isLoading: isGreetingLoading, data: greeting, diff --git a/packages/nextjs/components/Wallet/scaffold-eth/RainbowKitCustomConnectButton/WrongNetworkDropdown.tsx b/packages/nextjs/components/Wallet/scaffold-eth/RainbowKitCustomConnectButton/WrongNetworkDropdown.tsx index f9f0fd8..1fb7e98 100644 --- a/packages/nextjs/components/Wallet/scaffold-eth/RainbowKitCustomConnectButton/WrongNetworkDropdown.tsx +++ b/packages/nextjs/components/Wallet/scaffold-eth/RainbowKitCustomConnectButton/WrongNetworkDropdown.tsx @@ -15,7 +15,7 @@ export const WrongNetworkDropdown = () => { tabIndex={0} className="dropdown-content menu p-2 mt-1 shadow-center shadow-accent bg-base-200 rounded-box gap-1" > - + {/* */}