From 3679f4bb401713d7470e4cd777efe214eacff4bc Mon Sep 17 00:00:00 2001 From: corpi Date: Sat, 28 Feb 2026 23:20:34 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20button=20hydration=20=EC=97=90=EB=9F=AC?= =?UTF-8?q?=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ui/StartRitualWidget.tsx | 54 +++++++------------ 1 file changed, 18 insertions(+), 36 deletions(-) diff --git a/src/widgets/start-ritual-widget/ui/StartRitualWidget.tsx b/src/widgets/start-ritual-widget/ui/StartRitualWidget.tsx index 22cdcdf..79d1b25 100644 --- a/src/widgets/start-ritual-widget/ui/StartRitualWidget.tsx +++ b/src/widgets/start-ritual-widget/ui/StartRitualWidget.tsx @@ -1,4 +1,3 @@ -import { useState } from 'react'; import type { GoalChip } from '@/entities/session'; import { Button, Chip, GlassCard } from '@/shared/ui'; @@ -21,8 +20,6 @@ export const StartRitualWidget = ({ onQuickEnter, onOpenCustomEntry, }: StartRitualWidgetProps) => { - const [isGoalOpen, setGoalOpen] = useState(true); - return (
@@ -33,41 +30,26 @@ export const StartRitualWidget = ({
-
- - -
+
+ onGoalInputChange(event.target.value)} + placeholder="이번 세션 딱 1가지만 (예: 견적서 1페이지)" + className="w-full rounded-xl border border-white/20 bg-slate-950/55 px-3.5 py-3 text-sm text-white placeholder:text-white/45 focus:border-sky-200/60 focus:outline-none" + /> - {isGoalOpen ? ( -
- onGoalInputChange(event.target.value)} - placeholder="이번 세션 딱 1가지만 (예: 견적서 1페이지)" - className="w-full rounded-xl border border-white/20 bg-slate-950/55 px-3.5 py-3 text-sm text-white placeholder:text-white/45 focus:border-sky-200/60 focus:outline-none" - /> - -
- {goalChips.map((chip) => ( - onGoalChipSelect(chip)} - > - {chip.label} - - ))} -
+
+ {goalChips.map((chip) => ( + onGoalChipSelect(chip)} + > + {chip.label} + + ))}
- ) : null} +