mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 12:27:31 +00:00
Update CreateReminderForm.tsx
This commit is contained in:
+2
-6
@@ -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 (
|
||||||
|
|||||||
Reference in New Issue
Block a user