chore: recover stop streaming

This commit is contained in:
Tristan Yang
2022-09-01 18:34:15 +08:00
parent 91254d0fbd
commit ffbdc212f7
2 changed files with 3 additions and 5 deletions
+3 -3
View File
@@ -323,9 +323,9 @@ export default function useStreaming() {
stopStreaming();
}
}
// return () => {
// stopStreaming();
// };
return () => {
stopStreaming();
};
}, [online, readyPullData]);
return {