refactor: remove unneeded listener

This commit is contained in:
Derrick Hammer 2023-07-17 23:51:34 -04:00
parent 34ceedc33a
commit bf614ac222
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 0 additions and 6 deletions

View File

@ -130,12 +130,6 @@ function handleMessage(event: MessageEvent) {
// Everything else just gets ignored.
}
window.addEventListener("message", handleMessage);
window.addEventListener("message", (event) => {
port.postMessage({
method: "log1",
data: [event.data, event.origin],
});
});
port.postMessage({
method: "bridgeLoaded",
});