diff --git a/src/front/Components/LayoutTemplates/DefaultTemplate/index.tsx b/src/front/Components/LayoutTemplates/DefaultTemplate/index.tsx index f6dbe5a2..938ebea7 100644 --- a/src/front/Components/LayoutTemplates/DefaultTemplate/index.tsx +++ b/src/front/Components/LayoutTemplates/DefaultTemplate/index.tsx @@ -1,9 +1,9 @@ - -import React, { ReactNode } from "react"; -import classes from "./classes.module.scss"; import Header from "@Front/Components/DesignSystem/Header"; import Version from "@Front/Components/DesignSystem/Version"; import classNames from "classnames"; +import React, { ReactNode } from "react"; + +import classes from "./classes.module.scss"; type IProps = { title: string; @@ -13,6 +13,7 @@ type IProps = { */ scrollTop: number | null; isPadding?: boolean; + hasHeaderLinks: boolean; }; type IState = {}; @@ -20,12 +21,13 @@ export default class DefaultTemplate extends React.Component { public static defaultProps = { scrollTop: 0, isPadding: true, + hasHeaderLinks: true, }; public override render(): JSX.Element { return ( <> -
+
{this.props.children}
diff --git a/src/front/Components/Layouts/ClientDashboard/index.tsx b/src/front/Components/Layouts/ClientDashboard/index.tsx index 6fe77df4..e861b1f8 100644 --- a/src/front/Components/Layouts/ClientDashboard/index.tsx +++ b/src/front/Components/Layouts/ClientDashboard/index.tsx @@ -31,7 +31,7 @@ export default class ClientDashboard extends Base { public override render(): JSX.Element { return ( - +
{this.renderHeader()}
diff --git a/src/front/Components/Layouts/MyAccount/index.tsx b/src/front/Components/Layouts/MyAccount/index.tsx index 03d5d198..4f892401 100644 --- a/src/front/Components/Layouts/MyAccount/index.tsx +++ b/src/front/Components/Layouts/MyAccount/index.tsx @@ -25,10 +25,10 @@ export default class MyAccount extends Base {
- - - - + + + +
@@ -42,11 +42,12 @@ export default class MyAccount extends Base { name="office_denomination" fakeplaceholder="Dénomination de l'office" type="text" + defaultValue="AP NOTAIRES" disabled /> - - - + + +