From 12851539620319a6f39889a53e30732f8618ef88 Mon Sep 17 00:00:00 2001 From: philipcheung Date: Mon, 17 Mar 2025 09:36:32 +0800 Subject: [PATCH] remove chart view --- src/components/bestoil.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/bestoil.tsx b/src/components/bestoil.tsx index 658d662..ffa48a5 100644 --- a/src/components/bestoil.tsx +++ b/src/components/bestoil.tsx @@ -22,8 +22,7 @@ function Bestoil() { const oilCubesRef = useRef(null); // Check if elements are in view - const isBestOilInView = useInView(bestOilRef, { once: true }); - const isOilChartInView = useInView(oilChartRef, { once: true }); + const isCookInView = useInView(cookRef, { once: true }); const isOilCubesInView = useInView(oilCubesRef, { once: true });