Skip to content

Commit

Permalink
fix: fix loadableReady
Browse files Browse the repository at this point in the history
  • Loading branch information
gregberge committed Nov 10, 2018
1 parent eb1cfe8 commit 59693bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/server-side-rendering/src/server/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ ${webExtractor.getStyleTags()}
}),
)

app.listen(8000, () => console.log('Server started http://localhost:8000'))
app.listen(9000, () => console.log('Server started http://localhost:9000'))
2 changes: 1 addition & 1 deletion packages/component/src/loadableReady.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default function loadableReady(done = () => {}) {
return Promise.resolve()
}

let resolved = true
let resolved = false

return new Promise(resolve => {
window.__LOADABLE_LOADED_CHUNKS__ = window.__LOADABLE_LOADED_CHUNKS__ || []
Expand Down

0 comments on commit 59693bb

Please sign in to comment.