From 37989122b9fa10c8b82873768d53de621cc7ad8e Mon Sep 17 00:00:00 2001 From: Maxime Lalo Date: Tue, 11 Jul 2023 17:32:17 +0200 Subject: [PATCH] :bug: Forgot rename --- .../Layouts/Collaborators/index.tsx | 22 ++----------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/src/front/Components/Layouts/Collaborators/index.tsx b/src/front/Components/Layouts/Collaborators/index.tsx index 48bfc0a4..90e43453 100644 --- a/src/front/Components/Layouts/Collaborators/index.tsx +++ b/src/front/Components/Layouts/Collaborators/index.tsx @@ -1,26 +1,12 @@ import Typography, { ITypo, ITypoColor } from "@Front/Components/DesignSystem/Typography"; -import { IDashBoardFolder } from "@Front/Components/LayoutTemplates/DefaultNotaryDashboard"; import BasePage from "../Base"; import classes from "./classes.module.scss"; import DefaultCollaboratorDashboard from "@Front/Components/LayoutTemplates/DefaultCollaboratorDashboard"; type IProps = {}; -type IState = { - selectedFolder: IDashBoardFolder | null; - isArchivedModalOpen: boolean; -}; -export default class Folder extends BasePage { - public constructor(props: IProps) { - super(props); - this.state = { - selectedFolder: null, - isArchivedModalOpen: false, - }; - this.onSelectedFolder = this.onSelectedFolder.bind(this); - } - - // TODO: Message if the user has not created any folder yet +type IState = {}; +export default class Collaborators extends BasePage { public override render(): JSX.Element { return ( @@ -37,8 +23,4 @@ export default class Folder extends BasePage { ); } - - private onSelectedFolder(folder: IDashBoardFolder): void { - this.setState({ selectedFolder: folder }); - } }