Update error message in NewWeeklyReport component

This commit is contained in:
Davenludd 2024-04-04 11:19:35 +02:00
parent a5ea74c996
commit 7c995573ef

View file

@ -62,7 +62,7 @@ export default function NewWeeklyReport(): JSX.Element {
const success = await handleNewWeeklyReport(); const success = await handleNewWeeklyReport();
if (!success) { if (!success) {
alert( alert(
"A Time Report for this week already exists, please go to the edit page to edit it or change week number.", "Error occurred! Your connection to the server might be lost or a time report for this week already exists, please check your connection or go to the edit page to edit your report or change week number.",
); );
return; return;
} }