mirror of
https://github.com/SableClient/Sable.git
synced 2026-11-26 03:46:25 -08:00
ran formatter fixed lint issues, primarily getting rid of "any"s and swapping to .toSorted()
10 lines
272 B
TypeScript
10 lines
272 B
TypeScript
import { atom } from 'jotai';
|
|
import type { CreateRoomType } from '$components/create-room/types';
|
|
|
|
export type CreateRoomModalState = {
|
|
spaceId?: string;
|
|
type?: CreateRoomType;
|
|
};
|
|
|
|
export const createRoomModalAtom = atom<CreateRoomModalState | undefined>(undefined);
|