fixup
This commit is contained in:
parent
650757fe19
commit
bd51549d08
@ -38,4 +38,5 @@ export function send_notification(is_ok, context, message) {
|
||||
}
|
||||
}
|
||||
}
|
||||
notification_subs = updated_subs;
|
||||
}
|
||||
|
@ -5,13 +5,12 @@ import { h, render, Component } from "preact";
|
||||
*/
|
||||
|
||||
/**
|
||||
* A number, or a string containing a number.
|
||||
* @typedef {{
|
||||
* body: string,
|
||||
* headers: [[string, string]],
|
||||
* url: URL,
|
||||
* id: string,
|
||||
* kv: Map<Source, string>,
|
||||
* kv: Map<[Source, string], string>,
|
||||
* }} Req
|
||||
*/
|
||||
|
||||
@ -93,7 +92,6 @@ class TrafficLog extends Component {
|
||||
this.connection.onmessage = (msg) => {
|
||||
let req = process_msg(msg.data);
|
||||
if (req) {
|
||||
console.log(req);
|
||||
this.setState({ requests: [...this.state.requests, req] });
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user