fix backbutton

This commit is contained in:
pavel Hamawand 2024-03-16 17:28:45 +01:00
parent dc84bc997e
commit a6846ad7a4
2 changed files with 2 additions and 8 deletions

View file

@ -1,17 +1,12 @@
import BasicWindow from "../../Components/BasicWindow"; import BasicWindow from "../../Components/BasicWindow";
import Button from "../../Components/Button"; import BackButton from "../../Components/BackButton";
function PMUnsignedReports(): JSX.Element { function PMUnsignedReports(): JSX.Element {
const content = <></>; const content = <></>;
const buttons = ( const buttons = (
<> <>
<Button <BackButton />
text="Back"
onClick={(): void => {
return;
}}
/>
</> </>
); );

View file

@ -1,7 +1,6 @@
import BasicWindow from "../../Components/BasicWindow"; import BasicWindow from "../../Components/BasicWindow";
import Button from "../../Components/Button"; import Button from "../../Components/Button";
import NewTimeReport from "../../Components/TimeReport"; import NewTimeReport from "../../Components/TimeReport";
//import { Link } from "react-router-dom";
import BackButton from "../../Components/BackButton"; import BackButton from "../../Components/BackButton";
function UserNewTimeReportPage(): JSX.Element { function UserNewTimeReportPage(): JSX.Element {