SurfSense/surfsense_web/atoms/settings/settings-dialog.atoms.ts
Trevin Chow b544b161ae Remove dead MorePagesDialog component and morePagesDialogAtom
MorePagesDialog is never imported anywhere in the codebase.
The /more-pages route uses MorePagesContent directly from
page.tsx. The associated morePagesDialogAtom is also unused
outside the deleted component.

Closes #1192

This contribution was developed with AI assistance (Claude Code).
2026-04-09 14:13:31 -07:00

23 lines
496 B
TypeScript

import { atom } from "jotai";
export interface SearchSpaceSettingsDialogState {
open: boolean;
initialTab: string;
}
export interface UserSettingsDialogState {
open: boolean;
initialTab: string;
}
export const searchSpaceSettingsDialogAtom = atom<SearchSpaceSettingsDialogState>({
open: false,
initialTab: "general",
});
export const userSettingsDialogAtom = atom<UserSettingsDialogState>({
open: false,
initialTab: "profile",
});
export const teamDialogAtom = atom<boolean>(false);