From 1d02365efecbaf408b8b9fb2af63e40ba7ce2e96 Mon Sep 17 00:00:00 2001 From: Boy132 Date: Sun, 19 Dec 2021 18:50:18 +0100 Subject: [PATCH] Fix eslint warnings (#3814) --- .../components/server/features/GSLTokenModalFeature.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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');