Skip to content

Commit

Permalink
♻️Refactor - 애니메이션 key 에러 해결 refactor #43
Browse files Browse the repository at this point in the history
  • Loading branch information
bianbbc87 committed May 4, 2024
1 parent 37df46d commit b077ada
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const OpenSeminarDetailSeminars = ({ data }: { data: OpenSeminar }) => {
<div className='mt-5 flex grid desktop:grid-cols-2 tablet:grid-cols-1 gap-8'>
{data.seminars.map((seminar, index) => (
<motion.section
key={seminar.id}
initial={{ y: 20, opacity: 0 }}
whileInView={{ y: 0, opacity: 1 }}
transition={{ duration: 0.5, delay: 0.2 }}
Expand All @@ -37,7 +38,6 @@ const OpenSeminarDetailSeminars = ({ data }: { data: OpenSeminar }) => {
>
<Link
href={`/seminar/0${data.id}${seminar.id}`}
key={seminar.id}
>
<OpenSeminarsDetailBox
key={`${seminar.id}_${index}_seminar`}
Expand Down
1 change: 1 addition & 0 deletions src/components/seminar/toggle/SeminarToggle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ const SeminarToggle = () => {
<div className="mt-5">
{OPEN_SEMINAR_DATA.map((seminar) => (
<Link
key={seminar.id}
href={`/seminar/open/${seminar.id}`}
>
<SeminarToggleMenu
Expand Down

0 comments on commit b077ada

Please sign in to comment.