From 0836e4f0cab33827737cc72dd6ea467aafeb0460 Mon Sep 17 00:00:00 2001 From: AlexSserb Date: Wed, 13 Aug 2025 15:17:22 +0400 Subject: [PATCH] fix: removed back button on projects editor --- .../ProjectsEditorDrawer.tsx | 26 +++---------------- 1 file changed, 4 insertions(+), 22 deletions(-) diff --git a/src/app/deals/drawers/ProjectsEditorDrawer/ProjectsEditorDrawer.tsx b/src/app/deals/drawers/ProjectsEditorDrawer/ProjectsEditorDrawer.tsx index 94b465f..8e50550 100644 --- a/src/app/deals/drawers/ProjectsEditorDrawer/ProjectsEditorDrawer.tsx +++ b/src/app/deals/drawers/ProjectsEditorDrawer/ProjectsEditorDrawer.tsx @@ -1,17 +1,7 @@ "use client"; import React, { FC } from "react"; -import { IconChevronLeft } from "@tabler/icons-react"; -import { - Box, - Center, - Divider, - Drawer, - Group, - rem, - Stack, - Text, -} from "@mantine/core"; +import { Center, Divider, Drawer, rem, Stack, Text } from "@mantine/core"; import { useProjectsContext } from "@/app/deals/contexts/ProjectsContext"; import CreateProjectButton from "@/app/deals/drawers/ProjectsEditorDrawer/components/CreateProjectButton"; import ProjectMobile from "@/app/deals/drawers/ProjectsEditorDrawer/components/ProjectMobile"; @@ -38,17 +28,9 @@ const ProjectsEditorDrawer: FC = () => { gap: rem(10), }, }}> - - - - -
- Проекты -
- -
+
+ Проекты +
{projects.map((project, index) => (