12 lines
335 B
TypeScript
12 lines
335 B
TypeScript
"use client";
|
|
|
|
import { createLocalStorageAtom } from "@/store/jotai/utils";
|
|
import { StorageKeys } from "@/store/storage/storage-keys";
|
|
|
|
export type LayoutSelectedMenuState = Record<string, string>;
|
|
|
|
export const layoutSelectedMenuAtom = createLocalStorageAtom<LayoutSelectedMenuState>(
|
|
StorageKeys.LayoutSelectedMenu,
|
|
{},
|
|
);
|