mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-04 22:40:29 +03:00
11 lines
269 B
TypeScript
11 lines
269 B
TypeScript
import { RectCords } from 'folds';
|
|
import { atom } from 'jotai';
|
|
|
|
export type UserRoomProfileState = {
|
|
userId: string;
|
|
roomId: string;
|
|
spaceId?: string;
|
|
cords: RectCords;
|
|
};
|
|
|
|
export const userRoomProfileAtom = atom<UserRoomProfileState | undefined>(undefined);
|