Skip to content

Commit

Permalink
test github pages timezone
Browse files Browse the repository at this point in the history
  • Loading branch information
coinmoles committed Aug 6, 2024
1 parent 79c802d commit 850524c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import { ModeToggle } from "./ModeToggle";

export default function Header({ date }: { date?: string }) {
const handleDateChange = (newDate: Date) => {
console.log(newDate);

if (isValid(newDate))
navigate(`/runs/${formatDate(newDate, "yyyy-MM-dd")}`);
};
Expand Down

0 comments on commit 850524c

Please sign in to comment.