diff --git a/app/ai/components/ai-chat-form.tsx b/app/ai/components/ai-chat-form.tsx index 8471fdb5..8a254c92 100644 --- a/app/ai/components/ai-chat-form.tsx +++ b/app/ai/components/ai-chat-form.tsx @@ -21,8 +21,7 @@ const CustomTextarea = dynamic(() => import("@/components/editor/custom-textarea }); export function AIChatForm() { - const { prompt, jsonPrompt, setPrompt, setJsonPrompt, resetPrompts } = - useAIThemeGenerationPrompts(); + const { prompt, jsonPrompt, setPrompt, setJsonPrompt } = useAIThemeGenerationPrompts(); const { generateTheme, loading: aiGenerateLoading, @@ -34,9 +33,6 @@ export function AIChatForm() { const { setIsPreviewPanelOpen } = usePreviewPanel(); const handleSuccessfulThemeGeneration = () => { - // I tried to save the theme checkpoint here, but then the reset button locks on the - // theme generated by the AI, and can't go back to the original preset theme. - // saveThemeCheckpoint(); setIsPreviewPanelOpen(true); // TODO: reset prompts };