Skip to content
This repository was archived by the owner on Jun 4, 2024. It is now read-only.

Commit d1c40fa

Browse files
committed
Fix soft reload.
1 parent 4661e21 commit d1c40fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/components/core/Reloader.react.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class Reloader extends React.Component {
3939
}
4040
if (reloadRequest.content.reloadHash !== this.state.hash) {
4141
if (reloadRequest.content.hard
42-
|| reloadRequest.content.packages.length !== this.state.length
42+
|| reloadRequest.content.packages.length !== this.state.packages.length
4343
|| !R.all(R.map(x => R.contains(x, this.state.packages),
4444
reloadRequest.content.packages))
4545
) {
@@ -98,7 +98,7 @@ class Reloader extends React.Component {
9898
// Integrate with dev tools ui?!
9999
window.alert(
100100
`
101-
Reloader failed after ${this.state.retry} times.
101+
Reloader failed after ${this._retry} times.
102102
Please check your application for errors.
103103
`
104104
)

0 commit comments

Comments
 (0)