Skip to content

Commit

Permalink
fix: loadAsync Loadable should copy statics (gregberge#839)
Browse files Browse the repository at this point in the history
  • Loading branch information
jinasonlin authored Sep 26, 2021
1 parent d91846b commit 395a991
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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 395a991

Please sign in to comment.