remove edit button and fix back button

This commit is contained in:
pavel Hamawand 2024-03-15 14:48:40 +01:00
parent dc902855f4
commit 69b0318eb0

View file

@ -12,19 +12,11 @@ function UserViewTimeReportsPage(): JSX.Element {
const buttons = (
<>
<Link to="/edit-time-report">
<Button
text="Edit"
onClick={function (): void {
throw new Error("Function not implemented.");
}}
/>
</Link>
<Link to="/user-project-page">
<Link to="/project">
<Button
text="Back"
onClick={function (): void {
throw new Error("Function not implemented.");
onClick={(): void => {
return;
}}
/>
</Link>