diff --git a/src/components/EmailModal/index.tsx b/src/components/EmailModal/index.tsx index 94fce31..50a088d 100644 --- a/src/components/EmailModal/index.tsx +++ b/src/components/EmailModal/index.tsx @@ -62,14 +62,17 @@ export const EmailModal = ({onSuccess, onCancel, recipients, subject, content, d useEffect(() => { formValues.setFieldValue("recipients", recipients ?? []) + // eslint-disable-next-line }, [recipients]) useEffect(() => { formValues.setFieldValue("subject", subject ?? "") + // eslint-disable-next-line }, [subject]) useEffect(() => { formValues.setFieldValue("content", content ?? "") + // eslint-disable-next-line }, [content]) const [testEmailWasSent, setTestEmailWasSent] = useState(false) diff --git a/src/components/LoadInfinitQueryModal.tsx b/src/components/LoadInfinitQueryModal.tsx index 3151ca1..15372f7 100644 --- a/src/components/LoadInfinitQueryModal.tsx +++ b/src/components/LoadInfinitQueryModal.tsx @@ -36,6 +36,7 @@ export default function LoadInfinitQueryModal({start, query, onSuccess, onErr if (start && query.isFetched && !query.hasNextPage) { onSuccess?.() } + // eslint-disable-next-line }, [start, query, onSuccess]) const totalItems = query.data?.pages?.[0].totalItems || 0 diff --git a/src/components/users/modals/UserMenuModal.tsx b/src/components/users/modals/UserMenuModal.tsx index d002a35..50fa9b3 100644 --- a/src/components/users/modals/UserMenuModal.tsx +++ b/src/components/users/modals/UserMenuModal.tsx @@ -64,6 +64,7 @@ export default function UserMenuModal() { } formValues.setInitialValues(values) formValues.setValues(values) + // eslint-disable-next-line }, [user]); const mutation = useMutation({