Added backbutton

This commit is contained in:
Mattias 2024-03-19 22:13:06 +01:00
parent 55a2dc7fac
commit fe89ae0970

View file

@ -1,6 +1,7 @@
import BasicWindow from "../../Components/BasicWindow";
import { JSX } from "react/jsx-runtime";
import PMProjectMenu from "../../Components/PMProjectMenu";
import BackButton from "../../Components/BackButton";
function PMProjectPage(): JSX.Element {
const content = (
@ -9,6 +10,12 @@ function PMProjectPage(): JSX.Element {
</>
);
return <BasicWindow content={content} buttons={undefined} />;
const buttons = (
<>
<BackButton />
</>
);
return <BasicWindow content={content} buttons={buttons} />;
}
export default PMProjectPage;