mirror of
https://github.com/docmost/docmost.git
synced 2025-11-18 09:41:14 +10:00
websocket updates
* sync page title on icon via websocket * sync on page tree too
This commit is contained in:
4
apps/client/src/features/websocket/atoms/socket-atom.ts
Normal file
4
apps/client/src/features/websocket/atoms/socket-atom.ts
Normal file
@ -0,0 +1,4 @@
|
||||
import { atom } from "jotai";
|
||||
import { Socket } from "socket.io-client";
|
||||
|
||||
export const socketAtom = atom<Socket | null>(null);
|
||||
Reference in New Issue
Block a user