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,12 +1,10 @@
import { createContext } from "react";
import { createContext } from "react"
export type Status = "all" | "online" | "offline";
export type Status = "all" | "online" | "offline"
export interface StatusContextType {
status: Status;
setStatus: (status: Status) => void;
status: Status
setStatus: (status: Status) => void
}
export const StatusContext = createContext<StatusContextType | undefined>(
undefined,
);
export const StatusContext = createContext<StatusContextType | undefined>(undefined)