diff --git a/src/index.js b/src/index.js index d4a7518..61e5c23 100644 --- a/src/index.js +++ b/src/index.js @@ -64,7 +64,7 @@ export default function universal( _mounted: boolean static preload(props?: Props) { - requireAsync(props).catch(e => { + return requireAsync(props).catch(e => { if (DEV) console.warn('[react-universal-component] preload failed:', e) }) }