Skip to content

Commit

Permalink
Remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
leotaku authored Jan 28, 2024
1 parent f82a503 commit 6e7b833
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/polling.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

const retry = (url) => {{
const controller = new AbortController();
const timeoutId = setTimeout(() => controller.abort(), 500);
setTimeout(() => controller.abort(), 500);
fetch(url, {{ cache: "no-store", signal: controller.signal }})
.then(() => console.log("[tower-livereload] reload..."))
.then(() => window.location.reload())
Expand Down

0 comments on commit 6e7b833

Please sign in to comment.