mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 16:43:16 +00:00
slight fixes, checking for null case
This commit is contained in:
@@ -41,10 +41,9 @@ export default function Conversation() {
|
||||
|
||||
useEffect(() => {
|
||||
return () => {
|
||||
fetchStream.current.abort(); //abort previous stream
|
||||
fetchStream.current && fetchStream.current.abort(); //abort previous stream
|
||||
}
|
||||
}, [conversationId])
|
||||
|
||||
useEffect(() => {
|
||||
const observerCallback: IntersectionObserverCallback = (entries) => {
|
||||
entries.forEach((entry) => {
|
||||
|
||||
Reference in New Issue
Block a user