Refactor toast notifications and update MainForm submission messages

This commit is contained in:
2025-08-11 20:01:02 +02:00
parent 0a2f1e650d
commit 11384103c9
4 changed files with 14 additions and 5 deletions

View File

@@ -8,8 +8,6 @@ const handleSubmit = async (event: React.FormEvent<HTMLFormElement>) => {
const data = Object.fromEntries(formData.entries());
toast.promise(registerLos(data), {
pending: "Registriere Los...",
success: "Los erfolgreich registriert!",
error: "Fehler bei der Registrierung des Loses.",
});
};