fix(stream): while updating conv id

This commit is contained in:
ManishMadan2882
2024-10-05 02:46:32 +05:30
parent 5b01664d53
commit 67dddcb224
2 changed files with 2 additions and 4 deletions

View File

@@ -54,10 +54,6 @@ export default function Conversation() {
}
}, []);
useEffect(() => {
fetchStream.current && fetchStream.current.abort();
}, [conversationId]);
useEffect(() => {
if (queries.length) {
queries[queries.length - 1].error && setLastQueryReturnedErr(true);