remove edit button and fix back button
This commit is contained in:
parent
dc902855f4
commit
69b0318eb0
1 changed files with 3 additions and 11 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue