Link to button
This commit is contained in:
parent
844e94ed26
commit
070e9cc1e5
1 changed files with 12 additions and 14 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
import { Link } from "react-router-dom";
|
||||||
|
import BackButton from "../../Components/BackButton";
|
||||||
import BasicWindow from "../../Components/BasicWindow";
|
import BasicWindow from "../../Components/BasicWindow";
|
||||||
import Button from "../../Components/Button";
|
import Button from "../../Components/Button";
|
||||||
|
|
||||||
|
@ -6,6 +8,7 @@ function AdminManageProjects(): JSX.Element {
|
||||||
|
|
||||||
const buttons = (
|
const buttons = (
|
||||||
<>
|
<>
|
||||||
|
<Link to="/addProject">
|
||||||
<Button
|
<Button
|
||||||
text="Add Project"
|
text="Add Project"
|
||||||
onClick={(): void => {
|
onClick={(): void => {
|
||||||
|
@ -13,13 +16,8 @@ function AdminManageProjects(): JSX.Element {
|
||||||
}}
|
}}
|
||||||
type="button"
|
type="button"
|
||||||
/>
|
/>
|
||||||
<Button
|
</Link>
|
||||||
text="Back"
|
<BackButton />
|
||||||
onClick={(): void => {
|
|
||||||
return;
|
|
||||||
}}
|
|
||||||
type="button"
|
|
||||||
/>
|
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue