Skip to content

Commit

Permalink
patch: made linter happy :)
Browse files Browse the repository at this point in the history
  • Loading branch information
tenchleb committed Nov 13, 2024
1 parent 60c3d81 commit 828c17d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions packages/core/src/blade/button/api/button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,13 @@ export class ButtonApi
): this {
const bh = handler.bind(this);
const emitter = this.controller.buttonController.emitter;
emitter.on(eventName, (ev) => {
bh(new TpMouseEvent(this, ev.nativeEvent));
}, { key: handler });
emitter.on(
eventName,
(ev) => {
bh(new TpMouseEvent(this, ev.nativeEvent));
},
{key: handler},
);
return this;
}

Expand Down

0 comments on commit 828c17d

Please sign in to comment.