diff --git a/code/26 Animations/06-animating-staggered-lists/src/components/NewChallenge.jsx b/code/26 Animations/06-animating-staggered-lists/src/components/NewChallenge.jsx index 2fddd0070..103e0442b 100644 --- a/code/26 Animations/06-animating-staggered-lists/src/components/NewChallenge.jsx +++ b/code/26 Animations/06-animating-staggered-lists/src/components/NewChallenge.jsx @@ -1,5 +1,5 @@ import { useContext, useRef, useState } from 'react'; -import { motion } from 'framer-motion'; +import { motion, stagger } from 'framer-motion'; import { ChallengesContext } from '../store/challenges-context.jsx'; import Modal from './Modal.jsx'; @@ -57,10 +57,10 @@ export default function NewChallenge({ onDone }) {

- {images.map((image) => ( {images.map((image) => ( diff --git a/code/26 Animations/08-imperative-animations/src/components/NewChallenge.jsx b/code/26 Animations/08-imperative-animations/src/components/NewChallenge.jsx index 006ff429d..c898ee241 100644 --- a/code/26 Animations/08-imperative-animations/src/components/NewChallenge.jsx +++ b/code/26 Animations/08-imperative-animations/src/components/NewChallenge.jsx @@ -68,7 +68,7 @@ export default function NewChallenge({ onDone }) { {images.map((image) => ( diff --git a/code/26 Animations/09-animating-layout-changes/src/components/NewChallenge.jsx b/code/26 Animations/09-animating-layout-changes/src/components/NewChallenge.jsx index d2ee16049..681980500 100644 --- a/code/26 Animations/09-animating-layout-changes/src/components/NewChallenge.jsx +++ b/code/26 Animations/09-animating-layout-changes/src/components/NewChallenge.jsx @@ -68,7 +68,7 @@ export default function NewChallenge({ onDone }) { {images.map((image) => ( diff --git a/code/26 Animations/10-orchestrating-multi-element-animations/src/components/NewChallenge.jsx b/code/26 Animations/10-orchestrating-multi-element-animations/src/components/NewChallenge.jsx index d2ee16049..681980500 100644 --- a/code/26 Animations/10-orchestrating-multi-element-animations/src/components/NewChallenge.jsx +++ b/code/26 Animations/10-orchestrating-multi-element-animations/src/components/NewChallenge.jsx @@ -68,7 +68,7 @@ export default function NewChallenge({ onDone }) { {images.map((image) => ( diff --git a/code/26 Animations/11-animating-shared-elements/src/components/NewChallenge.jsx b/code/26 Animations/11-animating-shared-elements/src/components/NewChallenge.jsx index d2ee16049..681980500 100644 --- a/code/26 Animations/11-animating-shared-elements/src/components/NewChallenge.jsx +++ b/code/26 Animations/11-animating-shared-elements/src/components/NewChallenge.jsx @@ -68,7 +68,7 @@ export default function NewChallenge({ onDone }) { {images.map((image) => ( diff --git a/code/26 Animations/12-finished/src/components/NewChallenge.jsx b/code/26 Animations/12-finished/src/components/NewChallenge.jsx index d2ee16049..681980500 100644 --- a/code/26 Animations/12-finished/src/components/NewChallenge.jsx +++ b/code/26 Animations/12-finished/src/components/NewChallenge.jsx @@ -68,7 +68,7 @@ export default function NewChallenge({ onDone }) { {images.map((image) => (