Commit 7735660f authored by Joel's avatar Joel

debug msg

parent 25ac131d
......@@ -154,11 +154,13 @@ const GenerationItem: FC<IGenerationItemProps> = ({
setCompletionRes('')
}
}, [controlClearMoreLikeThis])
console.log('code on')
// regeneration clear child
useEffect(() => {
if (isLoading)
setChildMessageId(null)
console.log('loading')
setChildMessageId(null)
}, [isLoading])
return (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment