AcadeDoc/apps/client/src/features/websocket/atoms/socket-atom.ts
Philipinho 8cc7d39146 websocket updates
* sync page title on icon via websocket
* sync on page tree too
2024-04-27 15:40:22 +01:00

4 lines
127 B
TypeScript

import { atom } from "jotai";
import { Socket } from "socket.io-client";
export const socketAtom = atom<Socket | null>(null);