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} +