diff --git a/src/pages/Shop.tsx b/src/pages/Shop.tsx index 5f02a83..a67e3b6 100644 --- a/src/pages/Shop.tsx +++ b/src/pages/Shop.tsx @@ -1,5 +1,5 @@ import { useState } from 'react' -import { motion } from 'framer-motion' +import { motion, useReducedMotion } from 'framer-motion' import ProductCard from '../components/ProductCard' import InquiryModal from '../components/InquiryModal' import { getProductsByCategory, type Product } from '../data/products' @@ -10,6 +10,7 @@ const CATEGORIES: (Product['category'] | 'all')[] = ['all', 'hair-care', 'extens function Shop() { const [category, setCategory] = useState('all') const [inquiring, setInquiring] = useState(null) + const prefersReducedMotion = useReducedMotion() return (
@@ -26,7 +27,7 @@ function Shop() { )} {c.replace('-', ' ')}