fixed never read
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import { Box, Stack, Image, Flex, Text, SimpleGrid, HStack } from '@chakra-ui/react'
|
import { Box, Stack, Image, Flex, Text, SimpleGrid } from '@chakra-ui/react'
|
||||||
import { motion, useInView } from 'framer-motion'
|
import { motion, useInView } from 'framer-motion'
|
||||||
import { useRef } from 'react'
|
import { useRef } from 'react'
|
||||||
const MotionImage = motion.create(Image)
|
const MotionImage = motion.create(Image)
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import { Box, Image, SimpleGrid } from '@chakra-ui/react'
|
import { Box, Image, SimpleGrid } from '@chakra-ui/react'
|
||||||
import { motion, useInView } from 'framer-motion'
|
import { motion, useInView } from 'framer-motion'
|
||||||
import { useRef } from 'react'
|
import { useRef } from 'react'
|
||||||
import { useRouter, useRouterState } from '@tanstack/react-router'
|
import {useRouterState } from '@tanstack/react-router'
|
||||||
|
|
||||||
const MotionImage = motion.create(Image)
|
const MotionImage = motion.create(Image)
|
||||||
const MotionBox = motion.create(Box)
|
const MotionBox = motion.create(Box)
|
||||||
@@ -10,7 +10,6 @@ const MotionSimpleGrid = motion.create(SimpleGrid)
|
|||||||
function OilInfo() {
|
function OilInfo() {
|
||||||
const mainRef = useRef(null);
|
const mainRef = useRef(null);
|
||||||
const isMainInView = useInView(mainRef, { once: true });
|
const isMainInView = useInView(mainRef, { once: true });
|
||||||
const router = useRouter();
|
|
||||||
const { location } = useRouterState();
|
const { location } = useRouterState();
|
||||||
|
|
||||||
const handleRecipeNavigation = () => {
|
const handleRecipeNavigation = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user