Fix eslint warnings (#3814)
This commit is contained in:
parent
1564742606
commit
1d02365efe
1 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ import useFlash from '@/plugins/useFlash';
|
||||||
import { SocketEvent, SocketRequest } from '@/components/server/events';
|
import { SocketEvent, SocketRequest } from '@/components/server/events';
|
||||||
import Field from '@/components/elements/Field';
|
import Field from '@/components/elements/Field';
|
||||||
import updateStartupVariable from '@/api/server/updateStartupVariable';
|
import updateStartupVariable from '@/api/server/updateStartupVariable';
|
||||||
import { Form, Formik, FormikHelpers } from 'formik';
|
import { Form, Formik } from 'formik';
|
||||||
|
|
||||||
interface Values {
|
interface Values {
|
||||||
gslToken: string;
|
gslToken: string;
|
||||||
|
@ -44,7 +44,7 @@ const GSLTokenModalFeature = () => {
|
||||||
};
|
};
|
||||||
}, [ connected, instance, status ]);
|
}, [ connected, instance, status ]);
|
||||||
|
|
||||||
const updateGSLToken = (values: Values, { setSubmitting }: FormikHelpers<Values>) => {
|
const updateGSLToken = (values: Values) => {
|
||||||
setLoading(true);
|
setLoading(true);
|
||||||
clearFlashes('feature:gslToken');
|
clearFlashes('feature:gslToken');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue