pull/78/head
Kamil Pastwa 2022-02-04 11:03:21 +01:00
rodzic f286fb39d8
commit ae9f55e413
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -45,7 +45,7 @@ function App() {
useEffect(() => {
document.body.className = dark ? "dark" : "";
const noParamsProvided = window.location.pathname === "/";
const noParamsProvided = window.location.pathname === "/" || window.location.pathname === "/cja/";
const seedProvided = urlParam("seed") !== null;
if (!seedProvided && (urlParam("today") !== null || urlParam("todays") !== null || noParamsProvided)) {
document.location = "?seed=" + todaySeed;