fix build
This commit is contained in:
@@ -38,7 +38,7 @@ const cards = [
|
||||
|
||||
const MultiCardCarousel = () => {
|
||||
const [currentIndex, setCurrentIndex] = useState(0);
|
||||
const [isMobile, setIsMobile] = useState(window.innerWidth < 640);
|
||||
const [isMobile, setIsMobile] = useState(false); // Start with false, will be updated in useEffect
|
||||
|
||||
useEffect(() => {
|
||||
const handleResize = () => {
|
||||
|
Reference in New Issue
Block a user