Skip to content

Commit

Permalink
Merge pull request #4110 from Popovkov57/main
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinhagemeister committed Aug 20, 2023
2 parents 0afad8c + 204ab5d commit 0ede0c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion debug/src/debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,8 @@ export function initDebug() {
for (let i = 0; i < hooks.length; i += 1) {
const hook = hooks[i];
if (hook._args) {
for (const arg of hook._args) {
for (let j = 0; j < hook._args.length; j++) {
const arg = hook._args[j];
if (isNaN(arg)) {
const componentName = getDisplayName(vnode);
throw new Error(
Expand Down

0 comments on commit 0ede0c3

Please sign in to comment.