From c7c38d4201973c8a9029f7ca0b708aa0dcadb3ef Mon Sep 17 00:00:00 2001 From: Davenludd Date: Wed, 20 Mar 2024 13:56:13 +0100 Subject: [PATCH] Docs/Comments to registration form component --- frontend/src/Components/Register.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/src/Components/Register.tsx b/frontend/src/Components/Register.tsx index 7b003cb..df07c6e 100644 --- a/frontend/src/Components/Register.tsx +++ b/frontend/src/Components/Register.tsx @@ -6,6 +6,10 @@ import Button from "./Button"; import InputField from "./InputField"; import { useNavigate } from "react-router-dom"; +/** + * Renders a registration form for the admin to add new users in. + * @returns The JSX element representing the registration form. + */ export default function Register(): JSX.Element { const [username, setUsername] = useState(); const [password, setPassword] = useState();