mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-17 20:51:20 +02:00
Fix indent in src/utils/warning.js
This commit is contained in:
@@ -15,11 +15,11 @@ export default function warning(message, ...more) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
// --- Welcome to debugging Slate ---
|
// --- Welcome to debugging Slate ---
|
||||||
// This error was thrown as a convenience so that you can use this stack
|
// This error was thrown as a convenience so that you can use this stack
|
||||||
// to find the callsite that caused this warning to fire.
|
// to find the callsite that caused this warning to fire.
|
||||||
throw new Error(message)
|
throw new Error(message)
|
||||||
} catch (x) {
|
} catch (x) {
|
||||||
// This error is only for debugging
|
// This error is only for debugging
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user