see comments

This commit is contained in:
Rajpreet0 2026-07-12 15:10:04 +02:00
parent a756c79e34
commit 336f9b3e54
2 changed files with 6 additions and 2 deletions

View file

@ -3,7 +3,7 @@
"sidebarTitle": "Deine Reise beginnt hier",
"sidebarDescription": "Werde Teil einer Plattform, die Trainer und Lernende zusammenbringt.",
"heading": "Login",
"emailLabel": "E-mail Adresse",
"emailLabel": "E-Mail-Adresse",
"passwordLabel": "Passwort",
"rememberMe": "Beim nächsten Mal an mich erinnern",
"forgotPassword": "Passwort vergessen?",
@ -11,6 +11,6 @@
"loginWithGoogle": "Login mit Google",
"loginWithFacebook": "Login mit Facebook",
"noAccount": "Ich habe noch keinen Account",
"signUp": "Sign Up"
"signUp": "Registrieren"
}
}

View file

@ -76,6 +76,10 @@ const BusinessSettingsForm = ({
const [tel, setTel] = useState(initialTel ?? "");
const handleBusinessSave = () => {
if (!street.trim() || !plz.trim() || !place.trim()) {
toast.error("Bitte Straße, PLZ und Wohnort ausfüllen.");
return;
}
startTransition(async () => {
try {
const address = `${street}, ${plz} ${place}`;