[ci] format
This commit is contained in:
parent
b934ab5d86
commit
40fa87c274
1 changed files with 4 additions and 5 deletions
|
@ -99,8 +99,7 @@ function filteredConsoleError(msg, ...rest) {
|
||||||
const isKnownReactHookError =
|
const isKnownReactHookError =
|
||||||
msg.includes('Warning: Invalid hook call.') &&
|
msg.includes('Warning: Invalid hook call.') &&
|
||||||
msg.includes('https://reactjs.org/link/invalid-hook-call');
|
msg.includes('https://reactjs.org/link/invalid-hook-call');
|
||||||
if (isKnownReactHookError)
|
if (isKnownReactHookError) return;
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
originalConsoleError(msg, ...rest);
|
originalConsoleError(msg, ...rest);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue