chore: style

This commit is contained in:
Tristan Yang
2023-03-14 22:03:00 +08:00
parent 546898556e
commit bb633cd1cb
4 changed files with 3 additions and 33 deletions
+1
View File
@@ -128,6 +128,7 @@ export default function useStreaming() {
keepAlive(2000);
};
SSE.onmessage = (evt) => {
// console.log("sse msg");
const data: ServerEvent = JSON.parse(evt.data);
const { type } = data;
switch (type) {