mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-10 16:22:38 +02:00
- Removed podcast generation state and related functions from the ChatsPageClient component. - Simplified chat selection UI by removing unnecessary elements and improving layout. - Updated the AnnouncementBanner component to use Jotai for state management, allowing for persistent dismissal of the announcement.
5 lines
259 B
TypeScript
5 lines
259 B
TypeScript
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);
|