You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
}. While rendering:\n\n${args.positional[1]?.debugLabel??'(unknown)'} on ${selector}`
100
+
);
101
+
}
88
102
89
103
if(DEBUG&&args.positional.length!==2){
90
104
thrownewError(
91
-
`You can only pass two positional arguments (event name and callback) to the \`on\` modifier, but you provided ${args.positional.length}. Consider using the \`fn\` helper to provide additional arguments to the \`on\` callback.`
105
+
`You can only pass two positional arguments (event name and callback) to the \`on\` modifier, but you provided ${args.positional.length}. Consider using the \`fn\` helper to provide additional arguments to the \`on\` callback on ${selector}`
92
106
);
93
107
}
94
108
@@ -124,7 +138,7 @@ export class OnModifierState {
124
138
thrownewError(
125
139
`You can only \`once\`, \`passive\` or \`capture\` named arguments to the \`on\` modifier, but you provided ${Object.keys(
0 commit comments