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 (
-
+