refactor(workouts): drop the unused clock arguments of the blank draft

This commit is contained in:
Marc-André Bombeck committed 2026-10-04 10:18:16 +02:00
1 parent 183b7ce2c5
commit 2798cc953f
3 files changed
+3 -6

No files matched your search

@@ -116,7 +116,7 @@ export function ManualWorkoutForm({
// a submit after an edit updates the row the first submit stored.
const [externalId] = useState(newManualWorkoutExternalId);
const [draft, setDraft] = useState<ManualWorkoutDraft>(() =>
emptyManualWorkoutDraft(new Date(), timezone),
emptyManualWorkoutDraft(),
);
const [errors, setErrors] = useState<
Partial<Record<ManualWorkoutField, string>>