fix: logging #18
No files matched your search
@@ -87,8 +87,6 @@ function Info({ top }) {
|
||||
setModalReport(false)
|
||||
}
|
||||
|
||||
console.log(track.stats)
|
||||
|
||||
const total = track.stats.total,
|
||||
percent = total > 0 ? (track.stats.up / total) * 100 : 50
|
||||
|
||||
|
||||
+2
-2
@@ -23,10 +23,10 @@ function open() {
|
||||
socket.onmessage = (e) => {
|
||||
let data = JSON.parse(e.data)
|
||||
|
||||
console.debug(data)
|
||||
|
||||
if (!Array.isArray(data)) data = [data]
|
||||
|
||||
console.debug(data.map(({ cat }) => cat).join(' '), data)
|
||||
|
||||
for (let chunk of data) {
|
||||
let category = events[chunk.cat]
|
||||
if (category)
|
||||
|
||||
Reference in new issue
Block a user