Skip to content

Commit

Permalink
Merge pull request #281 from golters/dev
Browse files Browse the repository at this point in the history
adding back reload temp fix
  • Loading branch information
IamtheMa authored Aug 4, 2024
2 parents 5486b2a + 2dfb787 commit 9a7fe29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/src/network/events/refresh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
import { pushErrorToLog } from "../../components/Terminal"

const handler: NetworkEventHandler = () => {
//window.location.reload()
window.location.reload()
pushErrorToLog("sorry, something went wrong")
}

Expand Down
2 changes: 1 addition & 1 deletion client/src/network/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ window.addEventListener("blur", (event) => {
setTimeout(() => {
if(localStorage.getItem("focus") !="open")
window.addEventListener("focus", (event) => {
//window.location.reload()
window.location.reload()
})
}, 600 * 1000)
})

0 comments on commit 9a7fe29

Please sign in to comment.