From 5502e45d106c5c27da7a0090b5c74c12bd87d6fb Mon Sep 17 00:00:00 2001 From: hamid zarghami Date: Tue, 29 Jul 2025 13:11:05 +0330 Subject: [PATCH] setting active+ icon mark as all read --- src/pages/received/List.tsx | 7 +++++-- src/shared/SideBar.tsx | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/pages/received/List.tsx b/src/pages/received/List.tsx index 9d6136a..103c133 100644 --- a/src/pages/received/List.tsx +++ b/src/pages/received/List.tsx @@ -3,7 +3,7 @@ import React, { FC, useState } from 'react' import { useTranslation } from 'react-i18next' import Table from '../../components/Table'; import { ColumnType } from '../../components/types/TableTypes'; -import { InfoCircle, Refresh2, Trash, ArchiveTick, Star1, Sms } from 'iconsax-react'; +import { InfoCircle, Refresh2, Trash, ArchiveTick, Star1 } from 'iconsax-react'; import { RowActionItem } from '../../components/RowActionsDropdown'; import { useNavigate } from 'react-router-dom'; import { useGetInbox, useMarkAllRead, useSummarizeEmail } from './hooks/useEmailData'; @@ -299,7 +299,10 @@ const List: FC = () => { className='w-fit' >
- + خواندن همه
diff --git a/src/shared/SideBar.tsx b/src/shared/SideBar.tsx index 6999039..bb993ba 100644 --- a/src/shared/SideBar.tsx +++ b/src/shared/SideBar.tsx @@ -130,9 +130,9 @@ const SideBar: FC = () => {
} + icon={} title={t('sidebar.settings')} - isActive={isActive('settings')} + isActive={isActive(Paths.setting)} link={Paths.setting} />