diff --git a/resources/scripts/components/server/features/GSLTokenModalFeature.tsx b/resources/scripts/components/server/features/GSLTokenModalFeature.tsx index ff70c12f..6cd96ec0 100644 --- a/resources/scripts/components/server/features/GSLTokenModalFeature.tsx +++ b/resources/scripts/components/server/features/GSLTokenModalFeature.tsx @@ -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) => { + const updateGSLToken = (values: Values) => { setLoading(true); clearFlashes('feature:gslToken');