Skip to content

Commit

Permalink
fix: loadAsync Loadable should copy statics (#839)
Browse files Browse the repository at this point in the history
  • Loading branch information
jinasonlin committed Sep 26, 2021
1 parent 3b9cb20 commit 9ff6693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/component/src/createLoadable.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ function createLoadable({

promise
.then(loadedModule => {
const result = resolve(loadedModule, this.props, { Loadable })
const result = resolve(loadedModule, this.props, Loadable)
this.safeSetState(
{
result,
Expand Down

0 comments on commit 9ff6693

Please sign in to comment.