Fix EsLint config & update packages

This commit is contained in:
Ralex
2025-09-28 12:58:51 +02:00
parent dd841c813e
commit 89c39fac52
33 changed files with 2416 additions and 1641 deletions

View File

@@ -8,11 +8,9 @@ export const socket = io(WEBSOCKET_PUBLIC_URL, {
export const SocketContext = createContext()
export const SocketContextProvider = ({ children }) => {
return (
<SocketContext.Provider value={socket}>{children}</SocketContext.Provider>
)
}
export const SocketContextProvider = ({ children }) => (
<SocketContext.Provider value={socket}>{children}</SocketContext.Provider>
)
export function useSocketContext() {
const context = useContext(SocketContext)