From 8c99e7dedf396568e464577e47598a3f60c087e2 Mon Sep 17 00:00:00 2001 From: hamid zarghami Date: Sat, 1 Nov 2025 10:36:34 +0330 Subject: [PATCH] fix: border colors + some error fix --- src/pages/auth/components/LoginStep1.tsx | 2 +- src/pages/auth/components/LoginStep2.tsx | 2 +- src/pages/auth/components/LoginStep3.tsx | 2 +- src/pages/auth/components/RegisterStep1.tsx | 2 +- src/shared/SideBar.tsx | 2 +- src/shared/components/BlogSubMenu.tsx | 4 ++-- src/shared/components/CustomerSubMenu.tsx | 4 ++-- src/shared/components/CustomersSubMenu.tsx | 4 ++-- src/shared/components/DiscountSubMenu.tsx | 4 ++-- src/shared/components/FoodsSubMenu.tsx | 4 ++-- src/shared/components/LearningSubMenu.tsx | 4 ++-- src/shared/components/OrdersSubMenu.tsx | 4 ++-- src/shared/components/ReceiptSubMenu.tsx | 4 ++-- src/shared/components/ServicesSubMenu.tsx | 4 ++-- src/shared/components/SubMenuItem.tsx | 2 +- src/shared/components/SupportSubMenu.tsx | 4 ++-- src/shared/components/TicketSubMenu.tsx | 4 ++-- src/shared/components/TransactionsSubMenu.tsx | 4 ++-- src/shared/components/UsersSubMenu.tsx | 4 ++-- 19 files changed, 32 insertions(+), 32 deletions(-) diff --git a/src/pages/auth/components/LoginStep1.tsx b/src/pages/auth/components/LoginStep1.tsx index c3089cc..652b712 100644 --- a/src/pages/auth/components/LoginStep1.tsx +++ b/src/pages/auth/components/LoginStep1.tsx @@ -1,4 +1,4 @@ -import { FC } from 'react' +import { type FC } from 'react' import Input from '../../../components/Input' import { useTranslation } from 'react-i18next' import { LoginType } from '../types/AuthTypes' diff --git a/src/pages/auth/components/LoginStep2.tsx b/src/pages/auth/components/LoginStep2.tsx index 4fa02a8..3ab544c 100644 --- a/src/pages/auth/components/LoginStep2.tsx +++ b/src/pages/auth/components/LoginStep2.tsx @@ -1,4 +1,4 @@ -import { FC } from 'react' +import { type FC } from 'react' import { useTranslation } from 'react-i18next' import { OtpVerifyType } from '../types/AuthTypes' import { useFormik } from 'formik' diff --git a/src/pages/auth/components/LoginStep3.tsx b/src/pages/auth/components/LoginStep3.tsx index 2c74191..d934f73 100644 --- a/src/pages/auth/components/LoginStep3.tsx +++ b/src/pages/auth/components/LoginStep3.tsx @@ -1,4 +1,4 @@ -import { FC } from 'react' +import { type FC } from 'react' import Input from '../../../components/Input' import { useTranslation } from 'react-i18next' import { LoginWithPasswordType } from '../types/AuthTypes' diff --git a/src/pages/auth/components/RegisterStep1.tsx b/src/pages/auth/components/RegisterStep1.tsx index 9122f13..f339ec9 100644 --- a/src/pages/auth/components/RegisterStep1.tsx +++ b/src/pages/auth/components/RegisterStep1.tsx @@ -1,4 +1,4 @@ -import { FC } from 'react' +import { type FC } from 'react' import Input from '../../../components/Input' import { useTranslation } from 'react-i18next' import { CheckHasAccountPhoneType } from '../types/AuthTypes' diff --git a/src/shared/SideBar.tsx b/src/shared/SideBar.tsx index 692d2a0..0f96502 100644 --- a/src/shared/SideBar.tsx +++ b/src/shared/SideBar.tsx @@ -167,7 +167,7 @@ const SideBar: FC = () => { { hasSubMenu && (openSidebar || window.innerWidth > 1139) && -
+
{ subMenuName === 'foods' ? diff --git a/src/shared/components/BlogSubMenu.tsx b/src/shared/components/BlogSubMenu.tsx index 4f108f7..7f75728 100644 --- a/src/shared/components/BlogSubMenu.tsx +++ b/src/shared/components/BlogSubMenu.tsx @@ -1,5 +1,5 @@ import { DocumentText } from 'iconsax-react' -import { FC } from 'react' +import { type FC } from 'react' import { useTranslation } from 'react-i18next' import SubMenuItem from './SubMenuItem' import { Pages } from '../../config/Pages' @@ -14,7 +14,7 @@ const BlogSubMenu: FC = () => { return (
-
+
{ return (
-
+
{ return (
-
+
{ return (
-
+
{ return (
-
+
{ return (
-
+
{ return (
-
+
{ return (
-
+
{ return (
-
+
{ return
-
+
{ return (
-
+
{ return (
-
+
{ return (
-
+