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