diff --git a/src/front/Components/LayoutTemplates/DefaultNotaryDashboard/index.tsx b/src/front/Components/LayoutTemplates/DefaultNotaryDashboard/index.tsx index 5f40199a..2a5e00a7 100644 --- a/src/front/Components/LayoutTemplates/DefaultNotaryDashboard/index.tsx +++ b/src/front/Components/LayoutTemplates/DefaultNotaryDashboard/index.tsx @@ -13,8 +13,8 @@ type IProps = { title: string; children?: ReactNode; isArchived?: boolean; - onSelectedFolder: (folder: OfficeFolder) => void; - hasBackArrow: boolean; + onSelectedFolder?: (folder: OfficeFolder) => void; + hasBackArrow?: boolean; backArrowUrl?: string; mobileBackText?: string; }; diff --git a/src/front/Components/Layouts/Folder/index.tsx b/src/front/Components/Layouts/Folder/index.tsx index d4d5da21..a9aeaa84 100644 --- a/src/front/Components/Layouts/Folder/index.tsx +++ b/src/front/Components/Layouts/Folder/index.tsx @@ -1,4 +1,3 @@ -import backgroundImage from "@Assets/images/background_refonte_reverse.svg"; import LogoIcon from "@Assets/logo_small_blue.svg"; import Users from "@Front/Api/LeCoffreApi/Notary/Users/Users"; import Button, { EButtonSize, EButtonstyletype, EButtonVariant } from "@Front/Components/DesignSystem/Button"; @@ -60,11 +59,7 @@ export default function Folder() { }, [router]); return ( - +