change back button UserProjectPage

This commit is contained in:
pavel Hamawand 2024-03-15 15:28:35 +01:00
parent a26499bde9
commit 8430d88a07

View file

@ -1,6 +1,6 @@
import { Link } from "react-router-dom";
import BasicWindow from "../../Components/BasicWindow";
import Button from "../../Components/Button";
import BackButton from "../../Components/BackButton";
function UserProjectPage(): JSX.Element {
const content = (
@ -23,14 +23,7 @@ function UserProjectPage(): JSX.Element {
const buttons = (
<>
<Link to="/your-projects">
<Button
text="Back"
onClick={(): void => {
return;
}}
/>
</Link>
<BackButton />
</>
);