forked from Kieran/snort
fix: build
This commit is contained in:
parent
8a5a089b4d
commit
91f0afdb89
@ -98,7 +98,7 @@ export class SystemWorker extends EventEmitter<NostrSystemEvents> implements Sys
|
|||||||
on: (_: "event", cb) => {
|
on: (_: "event", cb) => {
|
||||||
chan.then(c => {
|
chan.then(c => {
|
||||||
c.port.onmessage = e => {
|
c.port.onmessage = e => {
|
||||||
cb?.(e.data as Array<TaggedNostrEvent>);
|
//cb(e.data as Array<TaggedNostrEvent>);
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user