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 });