Link to button

This commit is contained in:
Peter KW 2024-03-18 00:45:22 +01:00
parent 844e94ed26
commit 070e9cc1e5

View file

@ -1,3 +1,5 @@
import { Link } from "react-router-dom";
import BackButton from "../../Components/BackButton";
import BasicWindow from "../../Components/BasicWindow";
import Button from "../../Components/Button";
@ -6,20 +8,16 @@ function AdminManageProjects(): JSX.Element {
const buttons = (
<>
<Button
text="Add Project"
onClick={(): void => {
return;
}}
type="button"
/>
<Button
text="Back"
onClick={(): void => {
return;
}}
type="button"
/>
<Link to="/addProject">
<Button
text="Add Project"
onClick={(): void => {
return;
}}
type="button"
/>
</Link>
<BackButton />
</>
);