We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90f427b commit 595f255Copy full SHA for 595f255
src/utils/warning.js
@@ -7,13 +7,13 @@
7
export default function warning(message) {
8
/* eslint-disable no-console */
9
if (typeof console !== 'undefined' && typeof console.error === 'function') {
10
- console.error(message);
+ console.error(message)
11
}
12
/* eslint-enable no-console */
13
try {
14
// This error was thrown as a convenience so that you can use this stack
15
// to find the callsite that caused this warning to fire.
16
- throw new Error(message);
+ throw new Error(message)
17
/* eslint-disable no-empty */
18
} catch (e) {}
19
/* eslint-enable no-empty */
0 commit comments