Add custom prompt state and handlers

This commit is contained in:
2026-03-14 00:05:57 +01:00
parent 2c20ab748e
commit 727ef480c5

View File

@@ -439,6 +439,8 @@ export default function App() {
const [selectedHistoryId, setSelectedHistoryId] = useState<string | null>(null);
const [confirmState, setConfirmState] = useState<ConfirmState | null>(null);
const [settingsOpen, setSettingsOpen] = useState(false);
const [customPromptOpen, setCustomPromptOpen] = useState(false);
const [customPromptText, setCustomPromptText] = useState("");
const [dbExporting, setDbExporting] = useState(false);
const [dbExportStatus, setDbExportStatus] = useState<DbExportStatus | null>(null);
const [markdownPreview, setMarkdownPreview] = useState(false);