Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
add alert to new game modes
Browse files Browse the repository at this point in the history
  • Loading branch information
uo289549 committed Apr 22, 2024
1 parent 0776b62 commit 4b434ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/components/nav/Nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit 4b434ca

Please sign in to comment.