diff --git a/frontend/src/Components/Button.tsx b/frontend/src/Components/Button.tsx index 38a1853..cf6a887 100644 --- a/frontend/src/Components/Button.tsx +++ b/frontend/src/Components/Button.tsx @@ -1,17 +1,14 @@ function Button({ text, onClick, - type, }: { text: string; onClick: () => void; - type: "submit" | "button" | "reset"; }): JSX.Element { return ( diff --git a/frontend/src/Components/Register.tsx b/frontend/src/Components/Register.tsx index e4a3ba0..d0e3da6 100644 --- a/frontend/src/Components/Register.tsx +++ b/frontend/src/Components/Register.tsx @@ -1,8 +1,6 @@ import { useState } from "react"; import { NewUser } from "../Types/Users"; import { api } from "../API/API"; -import Logo from "../assets/Logo.svg"; -import Button from "./Button"; export default function Register(): JSX.Element { const [username, setUsername] = useState(""); @@ -14,32 +12,25 @@ export default function Register(): JSX.Element { }; return ( -