style(11-04): apply prettier to phase-11 modified files

- apps/pwa/src/components/EventForm.tsx (Task 2)
- apps/api/src/broker/{expand,reminderScheduler,sync,vevent}.ts (Plans 11-01/11-03)
- apps/api/tests/broker/{reminderScheduler,sync}.test.ts (Plans 11-01/11-03)
This commit is contained in:
Lucas Berger
2026-06-14 06:54:11 -04:00
parent fe549ef2b0
commit b9b3191b5b
7 changed files with 24 additions and 28 deletions
+1 -4
View File
@@ -80,10 +80,7 @@ function humanizeReminderLead(minutes: number): string {
* string for an off-list value (synthetic option will be rendered for this case).
* There is no '__custom__' path here — the occurrence only carries number|null.
*/
function deriveReminderValue(
leadMinutes: number | null,
isAllDay: boolean,
): string {
function deriveReminderValue(leadMinutes: number | null, isAllDay: boolean): string {
if (leadMinutes === null) return '__none__';
const presets = isAllDay ? ALLDAY_REMINDER_PRESETS : TIMED_REMINDER_PRESETS;
if (presets.has(leadMinutes)) return String(leadMinutes);