Skip to content

Commit

Permalink
fix: loadableReady should not resolve synchronously, fixes #634
Browse files Browse the repository at this point in the history
  • Loading branch information
theKashey committed Oct 22, 2020
1 parent daac26f commit 5043524
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/component/src/loadableReady.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ export default function loadableReady(
if (!resolved) {
resolved = true
resolve()
done()
}
}
}
Expand All @@ -73,5 +72,5 @@ export default function loadableReady(
}

checkReadyState()
})
}).then(done);
}

0 comments on commit 5043524

Please sign in to comment.