This commit is contained in:
k
2026-04-21 19:32:53 +08:00
parent 1747fc489f
commit 83e5892ddf
25 changed files with 2582 additions and 916 deletions
+2 -2
View File
@@ -30,8 +30,8 @@ export function usePriceSocket(handlers: Handlers) {
} else if (msg.type === 'new_post' && handlersRef.current.onNewPost) {
handlersRef.current.onNewPost(msg.post)
}
} catch {
// ignore malformed messages
} catch (err) {
console.warn('[WS] malformed message:', e.data, err)
}
}