Files
yaak-mountain-loop/apps/yaak-proxy/lib/atoms.ts
T
2026-10-26 06:38:34 -07:00

9 lines
368 B
TypeScript

import type { SplitLayoutLayout } from "@yaakapp-internal/ui";
import { atom } from "jotai";
import { atomWithStorage } from "jotai/utils";
export const selectedFlowIdAtom = atom<string | null>(null);
/** Stacked by default; the header's toggle switches to side by side */
export const flowLayoutAtom = atomWithStorage<SplitLayoutLayout>("flow_layout", "vertical");