Skip to content

Commit 3bf5231

Browse files
vtenfysgpetrioli
authored andcommitted
fix(docs): window.reload => window.location.reload (gatsbyjs#10459)
1 parent 7a01fb2 commit 3bf5231

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/add-offline-support-with-a-service-worker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ exports.onServiceWorkerUpdateFound = () => {
5555
)
5656

5757
if (answer === true) {
58-
window.reload()
58+
window.location.reload()
5959
}
6060
}
6161
```

0 commit comments

Comments
 (0)