We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d89a9f commit 8485376Copy full SHA for 8485376
src/AsyncComponent.js
@@ -23,7 +23,7 @@ export default (loader, { placeholder } = {}) => {
23
const component = loader();
24
25
if (!isPromise(component)) {
26
- return console.error('AsyncComponent: Loader return not promise');
+ return console.error('AsyncComponent: Loader doesn\'t return a promise');
27
}
28
29
component
0 commit comments