mirror of
https://github.com/pterodactyl/panel.git
synced 2024-11-22 09:02:28 +01:00
chore: fix eslint
This commit is contained in:
parent
9b35a55eea
commit
8ffe0f1ff0
@ -3,7 +3,7 @@ import type { ChangeEvent } from 'react';
|
|||||||
import { useEffect, useState } from 'react';
|
import { useEffect, useState } from 'react';
|
||||||
|
|
||||||
import type { WithRelationships } from '@/api/admin';
|
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 { searchEggs } from '@/api/admin/egg';
|
||||||
import Label from '@/components/elements/Label';
|
import Label from '@/components/elements/Label';
|
||||||
import Select from '@/components/elements/Select';
|
import Select from '@/components/elements/Select';
|
||||||
|
@ -30,7 +30,7 @@ import SpinnerOverlay from '@/components/elements/SpinnerOverlay';
|
|||||||
import FlashMessageRender from '@/components/FlashMessageRender';
|
import FlashMessageRender from '@/components/FlashMessageRender';
|
||||||
import useFlash from '@/plugins/useFlash';
|
import useFlash from '@/plugins/useFlash';
|
||||||
import AdminContentBlock from '@/components/admin/AdminContentBlock';
|
import AdminContentBlock from '@/components/admin/AdminContentBlock';
|
||||||
import {WithRelationships} from "@/api/admin";
|
import { WithRelationships } from '@/api/admin';
|
||||||
|
|
||||||
function InternalForm() {
|
function InternalForm() {
|
||||||
const {
|
const {
|
||||||
|
@ -3,10 +3,8 @@ import { useStoreActions } from 'easy-peasy';
|
|||||||
import type { FormikHelpers } from 'formik';
|
import type { FormikHelpers } from 'formik';
|
||||||
import { Form, Formik, useField, useFormikContext } from 'formik';
|
import { Form, Formik, useField, useFormikContext } from 'formik';
|
||||||
import { useEffect, useState } from 'react';
|
import { useEffect, useState } from 'react';
|
||||||
import tw from 'twin.macro';
|
|
||||||
import { object } from 'yup';
|
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 { getEgg } from '@/api/admin/egg';
|
||||||
import type { Server } from '@/api/admin/server';
|
import type { Server } from '@/api/admin/server';
|
||||||
@ -23,7 +21,7 @@ import Field from '@/components/elements/Field';
|
|||||||
import SpinnerOverlay from '@/components/elements/SpinnerOverlay';
|
import SpinnerOverlay from '@/components/elements/SpinnerOverlay';
|
||||||
import Label from '@/components/elements/Label';
|
import Label from '@/components/elements/Label';
|
||||||
import type { ApplicationStore } from '@/state';
|
import type { ApplicationStore } from '@/state';
|
||||||
import {WithRelationships} from "@/api/admin";
|
import { WithRelationships } from '@/api/admin';
|
||||||
|
|
||||||
function ServerStartupLineContainer({ egg, server }: { egg?: Egg; server: Server }) {
|
function ServerStartupLineContainer({ egg, server }: { egg?: Egg; server: Server }) {
|
||||||
const { isSubmitting, setFieldValue } = useFormikContext();
|
const { isSubmitting, setFieldValue } = useFormikContext();
|
||||||
|
Loading…
Reference in New Issue
Block a user