style: apply prettier formatting to frontend
Backend CI / Lint & vulns (push) Failing after 1m59s
Backend CI / Tests (push) Successful in 2m1s
Backend CI / Race detector (push) Failing after 4m0s

This commit is contained in:
2026-06-25 13:26:26 +01:00
parent d4664c177c
commit ad0ad253ad
74 changed files with 3927 additions and 2632 deletions
@@ -166,11 +166,7 @@
if (form.campaign_type === 'time_based') {
if (!form.start_date) errors.start_date = 'Required';
if (!form.end_date) errors.end_date = 'Required';
if (
form.start_date &&
form.end_date &&
new Date(form.end_date) < new Date(form.start_date)
) {
if (form.start_date && form.end_date && new Date(form.end_date) < new Date(form.start_date)) {
errors.end_date = 'Must be after start';
}
}