change back button UserViewTimeReportsPage

This commit is contained in:
pavel Hamawand 2024-03-15 15:32:06 +01:00
parent 8430d88a07
commit 2da40e1f54

View file

@ -1,6 +1,5 @@
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 UserViewTimeReportsPage(): JSX.Element { function UserViewTimeReportsPage(): JSX.Element {
const content = ( const content = (
@ -12,14 +11,7 @@ function UserViewTimeReportsPage(): JSX.Element {
const buttons = ( const buttons = (
<> <>
<Link to="/project"> <BackButton />
<Button
text="Back"
onClick={(): void => {
return;
}}
/>
</Link>
</> </>
); );