Files
Sable/src/app/state/createRoomModal.ts
T
7w1 1717ca872f migrate to oxlint and oxfmt
ran formatter
fixed lint issues, primarily getting rid of "any"s and swapping to .toSorted()
2026-04-16 22:15:13 -05:00

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);