Skip to content

Commit

Permalink
refactor: 정제 후 textarea수정 안되는 문제 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
khj0426 committed Dec 4, 2023
1 parent 9efea0d commit fb1863d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hooks/useRefine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ const useRefine = ({ text = '' }: { text: string }) => {

const handleChangePrompt = (e: ChangeEvent<HTMLTextAreaElement>) => {
setPrompt(e.target.value)
setResult(e.target.value)
}

const handlers = {
Expand Down

0 comments on commit fb1863d

Please sign in to comment.