mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-09 23:28:31 +00:00
Update CreateReminderForm.tsx
This commit is contained in:
+2
-6
@@ -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