change back button UserViewTimeReportsPage
This commit is contained in:
parent
8430d88a07
commit
2da40e1f54
1 changed files with 2 additions and 10 deletions
|
@ -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>
|
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue