Archived
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.
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
import { useState } from 'react';
|
import { useState } from 'react';
|
||||||
import { motion, AnimatePresence } from 'framer-motion';
|
import { motion, AnimatePresence } from 'motion/react';
|
||||||
import { Link } from 'react-router-dom';
|
import { Link } from 'react-router-dom';
|
||||||
import Logo from './Logo';
|
import Logo from './Logo';
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { useEffect, useState } from 'react';
|
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 { fetchCategories, fetchProducts, type Product } from '@/lib/api';
|
||||||
import ProductGallery from '@/components/ProductGallery';
|
import ProductGallery from '@/components/ProductGallery';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user