Files
streamyfin/utils/atoms/tvAccountActionModal.ts
Fredrik Burmester 85a74a9a6a refactor: login page
2026-01-31 10:52:21 +01:00

15 lines
351 B
TypeScript

import { atom } from "jotai";
import type {
SavedServer,
SavedServerAccount,
} from "@/utils/secureCredentials";
export type TVAccountActionModalState = {
server: SavedServer;
account: SavedServerAccount;
onLogin: () => void;
onDelete: () => void;
} | null;
export const tvAccountActionModalAtom = atom<TVAccountActionModalState>(null);