mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-27 17:56:25 +02:00
improve naming
This commit is contained in:
parent
207a284e9d
commit
bd4e5d627d
14 changed files with 90 additions and 54 deletions
5
surfsense_web/atoms/announcement.atom.ts
Normal file
5
surfsense_web/atoms/announcement.atom.ts
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
import { atomWithStorage } from "jotai/utils";
|
||||
|
||||
// Atom to track whether the announcement banner has been dismissed
|
||||
// Persists to localStorage automatically
|
||||
export const announcementDismissedAtom = atomWithStorage("surfsense_announcement_dismissed", false);
|
||||
Loading…
Add table
Add a link
Reference in a new issue