fix: use latest instruction value when generating code

This commit is contained in:
James Murdza 2024-09-06 15:25:50 -07:00
parent 02deea9c93
commit 300de1f03a

View File

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