From 4c5537e59333a0e32ed26c79f782adff575afa2f Mon Sep 17 00:00:00 2001 From: Austin Bennett Date: Thu, 23 Jul 2026 08:52:01 -0500 Subject: [PATCH] Point the motion imports at the renamed package Renovate's replacement PR swapped framer-motion for its successor 'motion' in package.json but left the imports, so the build could not resolve them. The React entry point is motion/react. --- frontend/src/components/Header.tsx | 2 +- frontend/src/pages/Products.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/Header.tsx b/frontend/src/components/Header.tsx index ea6d1c2..3944779 100644 --- a/frontend/src/components/Header.tsx +++ b/frontend/src/components/Header.tsx @@ -1,5 +1,5 @@ import { useState } from 'react'; -import { motion, AnimatePresence } from 'framer-motion'; +import { motion, AnimatePresence } from 'motion/react'; import { Link } from 'react-router-dom'; import Logo from './Logo'; diff --git a/frontend/src/pages/Products.tsx b/frontend/src/pages/Products.tsx index 4c08412..3dbb31b 100644 --- a/frontend/src/pages/Products.tsx +++ b/frontend/src/pages/Products.tsx @@ -1,5 +1,5 @@ import { useEffect, useState } from 'react'; -import { motion, AnimatePresence } from 'framer-motion'; +import { motion, AnimatePresence } from 'motion/react'; import { fetchCategories, fetchProducts, type Product } from '@/lib/api'; import ProductGallery from '@/components/ProductGallery';