mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-04 22:40:29 +03:00
WIP - new profile view
This commit is contained in:
parent
c757b8967f
commit
275b5bb18f
12 changed files with 568 additions and 6 deletions
11
src/app/state/userRoomProfile.ts
Normal file
11
src/app/state/userRoomProfile.ts
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
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);
|
||||
Loading…
Add table
Add a link
Reference in a new issue