mirror of
https://github.com/linsa-io/linsa.git
synced 2026-07-11 14:42:39 +02:00
Move to TanStack Start from Next.js (#184)
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import { atom } from "jotai"
|
||||
|
||||
export const isCollapseAtom = atom(false)
|
||||
export const toggleCollapseAtom = atom(
|
||||
(get) => get(isCollapseAtom),
|
||||
(get, set) => set(isCollapseAtom, !get(isCollapseAtom)),
|
||||
)
|
||||
Reference in New Issue
Block a user