From cdb94972a32d87c769638f71538737187114e21f Mon Sep 17 00:00:00 2001 From: caadiq Date: Tue, 31 Mar 2026 18:08:39 +0900 Subject: [PATCH] =?UTF-8?q?refactor(concert):=20=EC=84=B8=ED=8A=B8?= =?UTF-8?q?=EB=A6=AC=EC=8A=A4=ED=8A=B8=20=ED=9A=8C=EC=B0=A8=20=EC=84=A0?= =?UTF-8?q?=ED=83=9D=EC=9D=84=20=ED=83=AD=EC=97=90=EC=84=9C=20=EB=93=9C?= =?UTF-8?q?=EB=A1=AD=EB=8B=A4=EC=9A=B4=EC=9C=BC=EB=A1=9C=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 탭 UI → select 드롭다운 (회차가 많아도 깔끔) - 드롭다운에 날짜 표시 (예: "1회차 (2026-04-01)") - 회차 전환 시 애니메이션 제거 - framer-motion 의존성 제거 Co-Authored-By: Claude Opus 4.6 (1M context) --- .../schedules/form/concert/SetlistSection.jsx | 42 +++++++------------ 1 file changed, 15 insertions(+), 27 deletions(-) diff --git a/frontend/src/pages/pc/admin/schedules/form/concert/SetlistSection.jsx b/frontend/src/pages/pc/admin/schedules/form/concert/SetlistSection.jsx index 32be8bf..40cfa52 100644 --- a/frontend/src/pages/pc/admin/schedules/form/concert/SetlistSection.jsx +++ b/frontend/src/pages/pc/admin/schedules/form/concert/SetlistSection.jsx @@ -1,5 +1,4 @@ import { useState, useRef, useEffect } from "react"; -import { motion, AnimatePresence } from "framer-motion"; import { Plus, Trash2, Users, Search, Copy } from "lucide-react"; import ConfirmDialog from "@/components/pc/admin/common/ConfirmDialog"; @@ -229,36 +228,26 @@ function SetlistSection({ rounds, setlists, setSetlists, members, selectedMember )} - {/* 회차 탭 (2개 이상일 때만) */} + {/* 회차 선택 드롭다운 (2개 이상일 때만) */} {rounds.length > 1 && ( -
- {rounds.map((round, index) => ( - - ))} +
+
)}
- {setlist.map((song, index) => ( - +
{/* 헤더 */}
@@ -349,9 +338,8 @@ function SetlistSection({ rounds, setlists, setSetlists, members, selectedMember
-
+
))} -