From 91df3b2993eef68514847c045e3b9634949b7393 Mon Sep 17 00:00:00 2001 From: jeonbinggu Date: Wed, 11 Feb 2026 07:39:13 +0900 Subject: [PATCH 1/5] =?UTF-8?q?refactor:=20=EC=98=B5=EC=85=98=20=EB=A6=AC?= =?UTF-8?q?=EC=8A=A4=ED=8A=B8=20=EC=84=A0=ED=83=9D=EC=8B=9C=20=EB=B0=94?= =?UTF-8?q?=EB=A1=9C=20=EB=8B=AB=ED=9E=88=EA=B2=8C=20=EB=B3=80=EA=B2=BD(#2?= =?UTF-8?q?02)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/photoManage/DropBox.tsx | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/src/components/photoManage/DropBox.tsx b/src/components/photoManage/DropBox.tsx index 9cc4948b..af35ca7f 100644 --- a/src/components/photoManage/DropBox.tsx +++ b/src/components/photoManage/DropBox.tsx @@ -20,14 +20,8 @@ export function DropBox({ onToggle, onSelect, }: DropBoxProps) { - //선택되면: 왼쪽(흰색)은 옵션 label - //미선택이면: 왼쪽(흰색)은 카테고리 title const leftText = value ? value.label : category.title; - const leftTextClass = value ? "text-neutral-100" : "text-neutral-600"; - - // 선택되면: 오른쪽(회색)은 가격/배수(priceText) - // 미선택이면: placeholder const rightText = value ? value.priceText : category.placeholder; return ( @@ -37,10 +31,9 @@ export function DropBox({ aria-expanded={isOpen} className="w-full" > - {/* 상단 박스(첫번째 스크린샷) */}
-

{leftText}

+

{leftText}

{rightText}

@@ -53,7 +46,6 @@ export function DropBox({
- {/* 펼쳐졌을 때 옵션 리스트 */} {isOpen && (