import { atom } from 'jotai';

/** Room id being navigated to — for instant nav highlight before the route settles. */
export const pendingRoomNavigationAtom = atom<string | null>(null);

/** Room id showing the nav loading bar (stays until the room view is ready). */
export const roomNavLoadingAtom = atom<string | null>(null);
