Commit 7735660f authored by Joel's avatar Joel

debug msg

parent 25ac131d
...@@ -154,10 +154,12 @@ const GenerationItem: FC<IGenerationItemProps> = ({ ...@@ -154,10 +154,12 @@ const GenerationItem: FC<IGenerationItemProps> = ({
setCompletionRes('') setCompletionRes('')
} }
}, [controlClearMoreLikeThis]) }, [controlClearMoreLikeThis])
console.log('code on')
// regeneration clear child // regeneration clear child
useEffect(() => { useEffect(() => {
if (isLoading) if (isLoading)
console.log('loading')
setChildMessageId(null) setChildMessageId(null)
}, [isLoading]) }, [isLoading])
......
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