fix: build
This commit is contained in:
@ -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>);
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user