Added backbutton
This commit is contained in:
parent
55a2dc7fac
commit
fe89ae0970
1 changed files with 8 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue