diff --git a/webapp/src/components/nav/Nav.js b/webapp/src/components/nav/Nav.js index 4a76c162..f98a0693 100644 --- a/webapp/src/components/nav/Nav.js +++ b/webapp/src/components/nav/Nav.js @@ -66,7 +66,7 @@ export const Nav = () => { console.log("Current path: " + path); if (path != "/game") navigate("/home"); - else if (path === "/game") { + else if (path === "/game" || path === "/suddendeath" || path === "/againstClock") { Swal.fire({ title: t("Nav.alertTitle"), text: t("Nav.alertText"),