mirror of
https://github.com/Since-3/Kuma.git
synced 2026-10-12 21:41:17 +00:00
see comments
This commit is contained in:
parent
a756c79e34
commit
336f9b3e54
2 changed files with 6 additions and 2 deletions
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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}`;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue