[ci] format

This commit is contained in:
hippotastic 2022-06-30 12:12:27 +00:00 committed by fredkbot
parent b934ab5d86
commit 40fa87c274

View file

@ -99,8 +99,7 @@ function filteredConsoleError(msg, ...rest) {
const isKnownReactHookError =
msg.includes('Warning: Invalid hook call.') &&
msg.includes('https://reactjs.org/link/invalid-hook-call');
if (isKnownReactHookError)
return;
if (isKnownReactHookError) return;
}
originalConsoleError(msg, ...rest);
}