Fixed linting problem

This commit is contained in:
2023-10-22 22:17:10 +02:00
parent e69cc4940d
commit aaeccfbec5
2 changed files with 2 additions and 70 deletions

View File

@@ -1,6 +1,4 @@
import { useListMachines } from "@/api/default/default";
import { MachinesResponse } from "@/api/model";
import { AxiosError, AxiosResponse } from "axios";
import { AxiosError } from "axios";
import React, {
createContext,
Dispatch,
@@ -8,7 +6,6 @@ import React, {
SetStateAction,
useState,
} from "react";
import { KeyedMutator } from "swr";
type AppContextType = {
data: AppState;
@@ -21,7 +18,7 @@ type AppContextType = {
export const AppContext = createContext<AppContextType>({} as AppContextType);
type AppState = {};
type AppState = NonNullable<unknown>;
interface AppContextProviderProps {
children: ReactNode;