Skip to content

Commit

Permalink
fix(websiteblocker.jsx): simplify website blocker logic
Browse files Browse the repository at this point in the history
  • Loading branch information
junglesub committed Aug 5, 2024
1 parent 1896b5c commit 910fcd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/WebsiteBlocker.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function WebsiteBlocker({ children: Children }) {
.toString()
.padStart(2, "0")}`
);
} else if (hours === 0 && minutes == 0) {
} else {
if (display === "show") {
window.location.reload();
}
Expand Down

0 comments on commit 910fcd4

Please sign in to comment.