diff --git a/src/deskstar-frontend/components/RegisterPanel.tsx b/src/deskstar-frontend/components/RegisterPanel.tsx index 9f8032f8..2edce541 100644 --- a/src/deskstar-frontend/components/RegisterPanel.tsx +++ b/src/deskstar-frontend/components/RegisterPanel.tsx @@ -43,10 +43,13 @@ export default function RegisterPanel() { switch (response) { case AuthResponse.ErrorCompanyNotFound: toast.error("Company not Found"); + break; case AuthResponse.ErrorEmailaddressAlreadyExists: toast.error("Email adress already registered"); + break; default: toast.error("Unknown error"); + break; } return; }