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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user