Skip to content

Commit

Permalink
Fix resetting currentDate
Browse files Browse the repository at this point in the history
  • Loading branch information
kuzdogan committed Jun 4, 2024
1 parent e8710b1 commit a3d7dc1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/schedule.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ import { ImSoundcloud } from "react-icons/im";
// Stop greying out
const currentDate = new Date("2020-05-26T01:00:00+02:00");

setInterval(() => {
currentDate = new Date();
}, 60000);
// setInterval(() => {
// currentDate = new Date();
// }, 60000);

const ProgramItem = ({
title,
Expand Down

0 comments on commit a3d7dc1

Please sign in to comment.