fix(app): added multiple eslint-disable-next-line
Build and Push Docker image / build-and-push (push) Successful in 2m28s Details

This commit is contained in:
Valentin Kolb 2024-10-31 18:07:19 +01:00
parent d698a2bfdb
commit 50a22f6187
3 changed files with 5 additions and 0 deletions

View File

@ -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)

View File

@ -36,6 +36,7 @@ export default function LoadInfinitQueryModal<T>({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

View File

@ -64,6 +64,7 @@ export default function UserMenuModal() {
}
formValues.setInitialValues(values)
formValues.setValues(values)
// eslint-disable-next-line
}, [user]);
const mutation = useMutation({