Update ESLint config and optimize error handling

This commit is contained in:
2025-04-21 09:05:59 +02:00
parent c497657093
commit ddad30bcf8
2 changed files with 17 additions and 6 deletions

View File

@@ -56,7 +56,7 @@ const ContactFormSection = () => {
const resJson = await res.json();
setError(resJson?.error || "Ein Fehler ist aufgetreten. Bitte versuche es später erneut.");
}
} catch (err) {
} catch (_err) {
setError("Serverfehler. Bitte versuche es später erneut.");
}