Skip to content

Commit

Permalink
chore: fix bound dev check
Browse files Browse the repository at this point in the history
  • Loading branch information
pskelin committed Nov 25, 2024
1 parent 9737114 commit 05e2af5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/base/src/jsx-dev-runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function isBound(func: Function): boolean {

function checkBound(props: Record<string, any>) {
Object.keys(props).forEach(prop => {
if (props[prop].startsWith("on") && !isBound(props[prop])) {
if (prop.startsWith("on") && !isBound(props[prop])) {
// eslint-disable-next-line no-console
console.log(props[prop], isBound(props[prop]));
}
Expand Down

0 comments on commit 05e2af5

Please sign in to comment.