From 328ccb602bc306f7e0914d5ab6f8a81006b21847 Mon Sep 17 00:00:00 2001 From: RizqiSyahrendra Date: Tue, 29 Apr 2025 03:54:00 +0700 Subject: [PATCH] fix: hero --- src/components/homes/HomeTopSection.tsx | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/components/homes/HomeTopSection.tsx b/src/components/homes/HomeTopSection.tsx index 9f0bdaa..0a20662 100644 --- a/src/components/homes/HomeTopSection.tsx +++ b/src/components/homes/HomeTopSection.tsx @@ -1,18 +1,17 @@ "use client"; import HeroSlider from "@/components/HeroSlider"; -import { useRef } from "react"; export default function HomeTopSection() { - const formRef = useRef(null); + // const formRef = useRef(null); - function scrollToForm() { - formRef.current?.scrollIntoView?.({ behavior: "smooth" }); - } + // function scrollToForm() { + // formRef.current?.scrollIntoView?.({ behavior: "smooth" }); + // } return ( <> - + {/*