Skip to content

Commit f8e9904

Browse files

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,9 +207,11 @@ function createLoadableComponent(loadFn, options) {
207207
res.promise
208208
.then(() => {
209209
update();
210+
return null;
210211
})
211212
.catch(err => {
212213
update();
214+
return null;
213215
});
214216
}
215217

0 commit comments

Comments
 (0)