mirror of
https://github.com/Buriburizaem0n/nezha-dash-v1.git
synced 2026-02-05 13:10:09 +00:00
fix: prettier config
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user