diff --git a/app/ui/components/selectors/time-selector.tsx b/app/ui/components/selectors/time-selector.tsx index 98d71b75..7757c819 100644 --- a/app/ui/components/selectors/time-selector.tsx +++ b/app/ui/components/selectors/time-selector.tsx @@ -19,7 +19,7 @@ export default function TimeSelector({ }: TimeSelectorProps) { const isMobile = useCheckMobile(); - let options = Array.from({ length: 24 }, (_, i) => { + const options = Array.from({ length: 24 }, (_, i) => { const hour = i % 12 === 0 ? 12 : i % 12; const period = i < 12 ? "am" : "pm"; return { label: `${hour}:00 ${period}`, value: i }; diff --git a/app/ui/components/weekday-calendar.tsx b/app/ui/components/weekday-calendar.tsx index f21a4e1d..850692f0 100644 --- a/app/ui/components/weekday-calendar.tsx +++ b/app/ui/components/weekday-calendar.tsx @@ -14,7 +14,6 @@ type WeekdayCalendarProps = { export default function WeekdayCalendar({ selectedDays, onChange, - inDrawer = false, }: WeekdayCalendarProps) { // const [startMonday, setStartMonday] = useState(false); // const reorderedDays = startMonday ? [...days.slice(1), days[0]] : days;