Fix eslint warnings (#3814)

This commit is contained in:
Boy132 2021-12-19 18:50:18 +01:00 committed by GitHub
parent 1564742606
commit 1d02365efe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,7 @@ import useFlash from '@/plugins/useFlash';
import { SocketEvent, SocketRequest } from '@/components/server/events';
import Field from '@/components/elements/Field';
import updateStartupVariable from '@/api/server/updateStartupVariable';
import { Form, Formik, FormikHelpers } from 'formik';
import { Form, Formik } from 'formik';
interface Values {
gslToken: string;
@ -44,7 +44,7 @@ const GSLTokenModalFeature = () => {
};
}, [ connected, instance, status ]);
const updateGSLToken = (values: Values, { setSubmitting }: FormikHelpers<Values>) => {
const updateGSLToken = (values: Values) => {
setLoading(true);
clearFlashes('feature:gslToken');