Update CreateReminderForm.tsx

This commit is contained in:
Daniel Hougaard
2025-04-26 05:56:11 +04:00
parent 11ee13676d
commit 0a5f6274f5
@@ -88,12 +88,8 @@ export const CreateReminderForm = ({
}, [members, isOpen, recipients]); }, [members, isOpen, recipients]);
useEffect(() => { useEffect(() => {
if (repeatDays) { if (repeatDays) setValue("days", repeatDays);
setValue("days", repeatDays); if (note) setValue("note", note);
}
if (note) {
setValue("note", note);
}
}, [repeatDays, note]); }, [repeatDays, note]);
return ( return (