mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-27 11:51:13 +01:00
Fixed the circular imports and things
This commit is contained in:
5
src-web/components/SidebarAtoms.ts
Normal file
5
src-web/components/SidebarAtoms.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
// This is an atom so we can use it in the child items to avoid re-rendering the entire list
|
||||
import {atom} from "jotai/index";
|
||||
|
||||
export const sidebarSelectedIdAtom = atom<string | null>(null);
|
||||
Reference in New Issue
Block a user