Skip to content

Commit

Permalink
fix(client/event): actually pass the event name
Browse files Browse the repository at this point in the history
  • Loading branch information
itschip committed Sep 5, 2024
1 parent ead69b5 commit a1f0d75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/event/netEventController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export function netEventController<TResponse>(
const eventId = uniqueId();
const listenName = `${event}:${eventId}`;

emitNet("removeEventListener", listenName, ...args);
emitNet(event, listenName, ...args);

const eventListener = (data: TResponse) => {
removeEventListener(listenName, eventListener);
Expand Down

0 comments on commit a1f0d75

Please sign in to comment.