fix: use latest instruction value when generating code

This commit is contained in:
James Murdza 2024-09-06 15:25:50 -07:00
parent 62e6d64a52
commit 45097e0f20

View File

@ -89,7 +89,7 @@ export default function GenerateInput({
e.preventDefault()
handleGenerate({ regenerate: false })
},
[]
[input, currentPrompt]
)
useEffect(() => {