mirror of
https://github.com/SableClient/Sable.git
synced 2026-12-02 23:02:33 -08:00
- rename CreateRoomVoice to CreateRoomType and modal voice state to type - rename CreateRoomKind to CreateRoomAccess and KindSelector to AccessSelector - propagate access/defaultAccess through create room and create space forms - set voice room power levels via createRoom power_level_content_override
10 lines
269 B
TypeScript
10 lines
269 B
TypeScript
import { atom } from 'jotai';
|
|
import { CreateRoomType } from '../components/create-room/types';
|
|
|
|
export type CreateRoomModalState = {
|
|
spaceId?: string;
|
|
type?: CreateRoomType;
|
|
};
|
|
|
|
export const createRoomModalAtom = atom<CreateRoomModalState | undefined>(undefined);
|