import { atom } from 'jotai'; // Whether the room's Widgets side-panel is open (mirrors mediaGalleryAtom). export const widgetsPanelAtom = atom(false); // [Gitea #205] Which widget the panel is showing, per room, so a floating // widget's "Back to room" can open the panel on it. export const widgetViewingAtom = atom>({});