diff --git a/frontend/components/editor/generate.tsx b/frontend/components/editor/generate.tsx index b1a60c9..a77f2bd 100644 --- a/frontend/components/editor/generate.tsx +++ b/frontend/components/editor/generate.tsx @@ -89,7 +89,7 @@ export default function GenerateInput({ e.preventDefault() handleGenerate({ regenerate: false }) }, - [] + [input, currentPrompt] ) useEffect(() => {