From e049494fa5f475636ce8fd8859a28f274c332ce2 Mon Sep 17 00:00:00 2001 From: AlexSserb Date: Fri, 19 Sep 2025 09:24:49 +0400 Subject: [PATCH] fix: fixed labels in tabs in deal editor --- .../DealEditorDrawer/components/DealEditorBody.tsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/app/deals/drawers/DealEditorDrawer/components/DealEditorBody.tsx b/src/app/deals/drawers/DealEditorDrawer/components/DealEditorBody.tsx index df14681..e9b5491 100644 --- a/src/app/deals/drawers/DealEditorDrawer/components/DealEditorBody.tsx +++ b/src/app/deals/drawers/DealEditorDrawer/components/DealEditorBody.tsx @@ -1,7 +1,7 @@ import React, { FC, ReactNode } from "react"; import { IconEdit } from "@tabler/icons-react"; import { motion } from "framer-motion"; -import { Box, Tabs } from "@mantine/core"; +import { Box, Tabs, Text } from "@mantine/core"; import GeneralTab from "@/app/deals/drawers/DealEditorDrawer/tabs/GeneralTab/GeneralTab"; import useIsMobile from "@/hooks/utils/useIsMobile"; import { DealSchema, ProjectSchema } from "@/lib/client"; @@ -43,7 +43,12 @@ const DealEditorBody: FC = props => { key={moduleRender.key} value={moduleRender.key} leftSection={moduleRender.icon}> - {moduleRender.label} + + {moduleRender.label} + ); });