diff --git a/webapp/src/pages/Dashboard.jsx b/webapp/src/pages/Dashboard.jsx index 3bb86210..126860b1 100644 --- a/webapp/src/pages/Dashboard.jsx +++ b/webapp/src/pages/Dashboard.jsx @@ -114,7 +114,7 @@ export default function Dashboard() { setIsMenuOpen(false)} changeLanguage={changeLanguage} isDashboard={true}/> {user && ( <> - + {t("common.welcome") + " " + user.username} @@ -128,7 +128,7 @@ export default function Dashboard() { {!active && ( - {modes.map(mode => ( + {modes.length > 0 && modes.map(mode => ( @@ -192,6 +193,7 @@ export default function Dashboard() { className={"custom-button effect2"} onClick={initializeGameMode} size={"lg"} + id={"resumeBtn"} fontSize={"2xl"} flex="1" > diff --git a/webapp/src/pages/Results.jsx b/webapp/src/pages/Results.jsx index f78281eb..6ab60e96 100644 --- a/webapp/src/pages/Results.jsx +++ b/webapp/src/pages/Results.jsx @@ -14,7 +14,7 @@ export default function Results() {
{t("common.results")} - {`Correct answers: ${correctAnswers}`} + {`Correct answers: ${correctAnswers}`}