fix: prettier config

This commit is contained in:
hamster1963
2024-12-13 17:26:28 +08:00
parent 1483ce56fa
commit 9a2f3ea8e6
81 changed files with 1666 additions and 2286 deletions

View File

@@ -1,20 +1,18 @@
import { createContext } from "react";
import { createContext } from "react"
export interface TooltipData {
centroid: [number, number];
country: string;
count: number;
centroid: [number, number]
country: string
count: number
servers: Array<{
name: string;
status: boolean;
}>;
name: string
status: boolean
}>
}
interface TooltipContextType {
tooltipData: TooltipData | null;
setTooltipData: (data: TooltipData | null) => void;
tooltipData: TooltipData | null
setTooltipData: (data: TooltipData | null) => void
}
export const TooltipContext = createContext<TooltipContextType | undefined>(
undefined,
);
export const TooltipContext = createContext<TooltipContextType | undefined>(undefined)