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
+4 -4
View File
@@ -1,11 +1,11 @@
import { createContext } from "react";
import { createContext } from "react"
export interface WebSocketContextType {
lastMessage: { data: string } | null;
connected: boolean;
lastMessage: { data: string } | null
connected: boolean
}
export const WebSocketContext = createContext<WebSocketContextType>({
lastMessage: null,
connected: false,
});
})