Skip to content

Commit

Permalink
refactor(eb-app-ui): sync routes/pri/calendar
Browse files Browse the repository at this point in the history
  • Loading branch information
emrahcom committed Oct 14, 2024
1 parent 13bbdec commit 9404f54
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
if (date != $page.params.date) {
globalThis.location.href = `/pri/calendar/month/${date}`;
throw new Error("invalid date format");
throw "invalid date format";
}
} catch {
const date = getToday();
globalThis.location.href = `/pri/calendar/month/${date}`;
throw new Error("invalid date");
throw "invalid date";
}
const date = $page.params.date;
Expand Down

0 comments on commit 9404f54

Please sign in to comment.