mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Update CreateReminderForm.tsx
This commit is contained in:
@@ -88,12 +88,8 @@ export const CreateReminderForm = ({
|
||||
}, [members, isOpen, recipients]);
|
||||
|
||||
useEffect(() => {
|
||||
if (repeatDays) {
|
||||
setValue("days", repeatDays);
|
||||
}
|
||||
if (note) {
|
||||
setValue("note", note);
|
||||
}
|
||||
if (repeatDays) setValue("days", repeatDays);
|
||||
if (note) setValue("note", note);
|
||||
}, [repeatDays, note]);
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user