Skip to content

Commit

Permalink
Fix call of bound function
Browse files Browse the repository at this point in the history
  • Loading branch information
craigbeck committed Jul 3, 2024
1 parent c06df7c commit 107544e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export abstract class Component<T extends object = object> extends Controller<T>
});
return function componentBindWrapper(...args) {
if (!_fn) return;
return _fn.apply(_component, ...args);
return _fn.apply(_component, args);
};
}

Expand Down

0 comments on commit 107544e

Please sign in to comment.