From 31b4dae4c282638ae94c9ad99b03865476772094 Mon Sep 17 00:00:00 2001 From: TwilightLogic Date: Fri, 10 Nov 2023 23:25:23 +0800 Subject: [PATCH] feat(scroll): remove comments and a empty file --- pages/scroll.js | 11 ----------- sections/SectionScroll.js | 0 2 files changed, 11 deletions(-) delete mode 100644 sections/SectionScroll.js diff --git a/pages/scroll.js b/pages/scroll.js index 1181879..ac254cb 100644 --- a/pages/scroll.js +++ b/pages/scroll.js @@ -69,17 +69,6 @@ export default function Scroll() { const { chains, switchNetwork } = useSwitchNetwork() const { openConnectModal } = useConnectModal() - // React.useEffect(() => { - // if (!isConnected && activeStep >= 1) { - // openConnectModal() - // } - // console.log(chains[2]) - // console.log(chain.optimismGoerli) - // if (currectChain?.id != 534352) { - // switchNetwork?.(chains[2].id) - // } - // }, [isConnected, activeStep]) - const handleNext = async () => { if (activeStep === 0) { switchNetwork?.(chains[2].id) diff --git a/sections/SectionScroll.js b/sections/SectionScroll.js deleted file mode 100644 index e69de29..0000000