Skip to content
This repository has been archived by the owner on Sep 29, 2024. It is now read-only.

Commit

Permalink
Sign up: Fixed double tos and privacy policy consent and adapted erro…
Browse files Browse the repository at this point in the history
…r message styles
  • Loading branch information
maxschwinghammer committed Jun 10, 2024
1 parent 1fe19aa commit 19f0de5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 deletions.
17 changes: 0 additions & 17 deletions src/main/web/src/organisms/signup/ErrorUsernameModal.tsx

This file was deleted.

3 changes: 1 addition & 2 deletions src/main/web/src/organisms/signup/UsernamePasswordInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import {register} from "../../services/AuthService";
import {ErrorMessage, Field, Form, Formik} from "formik";
import {NavigateFunction, useNavigate} from "react-router-dom";
import './UsernamePasswordInput.css';
import ErrorUsernameModal from "./ErrorUsernameModal";

const UsernamePasswordInput = () => {
let navigate: NavigateFunction = useNavigate();
Expand Down Expand Up @@ -99,7 +98,7 @@ const UsernamePasswordInput = () => {

<div className="error-message-dialog">
{showError && (
<ErrorUsernameModal message={message} onClose={() => setShowError(false)}/>
<div className="alert-danger">{message}</div>
)}
</div>
</Form>
Expand Down

0 comments on commit 19f0de5

Please sign in to comment.