From 8ffe0f1ff0201bd1fa6c4793b5025f4bde42ac4b Mon Sep 17 00:00:00 2001 From: Matthew Penner Date: Mon, 2 Oct 2023 16:56:48 -0600 Subject: [PATCH] chore: fix eslint --- resources/scripts/components/admin/servers/EggSelect.tsx | 2 +- .../scripts/components/admin/servers/NewServerContainer.tsx | 2 +- .../components/admin/servers/ServerStartupContainer.tsx | 6 ++---- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/resources/scripts/components/admin/servers/EggSelect.tsx b/resources/scripts/components/admin/servers/EggSelect.tsx index 12ab72496f..b813db7762 100644 --- a/resources/scripts/components/admin/servers/EggSelect.tsx +++ b/resources/scripts/components/admin/servers/EggSelect.tsx @@ -3,7 +3,7 @@ import type { ChangeEvent } from 'react'; import { useEffect, useState } from 'react'; import type { WithRelationships } from '@/api/admin'; -import type {Egg, LoadedEgg} from '@/api/admin/egg'; +import type { Egg } from '@/api/admin/egg'; import { searchEggs } from '@/api/admin/egg'; import Label from '@/components/elements/Label'; import Select from '@/components/elements/Select'; diff --git a/resources/scripts/components/admin/servers/NewServerContainer.tsx b/resources/scripts/components/admin/servers/NewServerContainer.tsx index 828305c492..5c80701c80 100644 --- a/resources/scripts/components/admin/servers/NewServerContainer.tsx +++ b/resources/scripts/components/admin/servers/NewServerContainer.tsx @@ -30,7 +30,7 @@ import SpinnerOverlay from '@/components/elements/SpinnerOverlay'; import FlashMessageRender from '@/components/FlashMessageRender'; import useFlash from '@/plugins/useFlash'; import AdminContentBlock from '@/components/admin/AdminContentBlock'; -import {WithRelationships} from "@/api/admin"; +import { WithRelationships } from '@/api/admin'; function InternalForm() { const { diff --git a/resources/scripts/components/admin/servers/ServerStartupContainer.tsx b/resources/scripts/components/admin/servers/ServerStartupContainer.tsx index 29d9336a7f..f4867fb315 100644 --- a/resources/scripts/components/admin/servers/ServerStartupContainer.tsx +++ b/resources/scripts/components/admin/servers/ServerStartupContainer.tsx @@ -3,11 +3,9 @@ import { useStoreActions } from 'easy-peasy'; import type { FormikHelpers } from 'formik'; import { Form, Formik, useField, useFormikContext } from 'formik'; import { useEffect, useState } from 'react'; -import tw from 'twin.macro'; import { object } from 'yup'; -import type { InferModel } from '@/api/admin'; -import type {Egg, EggVariable, LoadedEgg} from '@/api/admin/egg'; +import type { Egg, EggVariable, LoadedEgg } from '@/api/admin/egg'; import { getEgg } from '@/api/admin/egg'; import type { Server } from '@/api/admin/server'; import { useServerFromRoute } from '@/api/admin/server'; @@ -23,7 +21,7 @@ import Field from '@/components/elements/Field'; import SpinnerOverlay from '@/components/elements/SpinnerOverlay'; import Label from '@/components/elements/Label'; import type { ApplicationStore } from '@/state'; -import {WithRelationships} from "@/api/admin"; +import { WithRelationships } from '@/api/admin'; function ServerStartupLineContainer({ egg, server }: { egg?: Egg; server: Server }) { const { isSubmitting, setFieldValue } = useFormikContext();