Skip to content

Commit

Permalink
popm/wasm: fix dispatch params for {add,remove}EventListener (#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuasing authored Jul 15, 2024
1 parent 383611f commit 1f168f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/packages/pop-miner/src/browser/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export const addEventListener: typeof types.addEventListener = (
return dispatchVoid({
method: 'addEventListener',
eventType: eventType,
listener: listener,
handler: listener,
});
};

Expand All @@ -126,6 +126,6 @@ export const removeEventListener: typeof types.addEventListener = (
return dispatchVoid({
method: 'removeEventListener',
eventType: eventType,
listener: listener,
handler: listener,
});
};

0 comments on commit 1f168f2

Please sign in to comment.