mirror of
https://github.com/linsa-io/linsa.git
synced 2026-01-15 16:23:27 +01:00
* chore: memoize sorted pages * chore: make link size more precise * fix(link): disable enter press on create mode * fix(onboarding): move is base logic and use escape for single quote * fix(page): on delete success redirect to pages * fix(sntry): sentry client error report * chore(page): dynamic focus on title/content * chore(link): tweak badge class * chore(link): use nuqs for handling create mode * fix(link): refs * feat(palette): implement new link
8 lines
317 B
TypeScript
8 lines
317 B
TypeScript
import { atom } from "jotai"
|
|
import { atomWithStorage } from "jotai/utils"
|
|
|
|
export const linkSortAtom = atomWithStorage("sort", "manual")
|
|
export const linkEditIdAtom = atom<string | null>(null)
|
|
export const linkLearningStateSelectorAtom = atom(false)
|
|
export const linkOpenPopoverForIdAtom = atom<string | null>(null)
|