Skip to content

Commit 9ff6693

Browse files
authored
fix: loadAsync Loadable should copy statics (#839)
1 parent 3b9cb20 commit 9ff6693

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/component/src/createLoadable.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ function createLoadable({
249249

250250
promise
251251
.then(loadedModule => {
252-
const result = resolve(loadedModule, this.props, { Loadable })
252+
const result = resolve(loadedModule, this.props, Loadable)
253253
this.safeSetState(
254254
{
255255
result,

0 commit comments

Comments
 (0)