From 2b3a6cb6b7739e04533006bd142ae66d3111e26f Mon Sep 17 00:00:00 2001 From: Maxime Lalo Date: Thu, 25 Jul 2024 13:28:34 +0200 Subject: [PATCH] :bug: Fixing build --- .../LayoutTemplates/DefaultNotaryDashboard/index.tsx | 4 ++-- src/front/Components/Layouts/Folder/index.tsx | 7 +------ 2 files changed, 3 insertions(+), 8 deletions(-) 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 ( - +