remove helmer

This commit is contained in:
hamid zarghami
2026-02-22 15:53:37 +03:30
parent d5db1638dd
commit 0d25091e71
9 changed files with 5 additions and 137 deletions
+4 -96
View File
@@ -19,7 +19,6 @@
"react": "^19.2.0",
"react-dom": "^19.2.0",
"react-dropzone": "^14.3.8",
"react-helmet-async": "^2.0.5",
"react-infinite-scroll-component": "^6.1.0",
"react-loading-skeleton": "^3.5.0",
"react-multi-date-picker": "^4.5.2",
@@ -301,7 +300,6 @@
"cpu": [
"ppc64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -318,7 +316,6 @@
"cpu": [
"arm"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -335,7 +332,6 @@
"cpu": [
"arm64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -352,7 +348,6 @@
"cpu": [
"x64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -369,7 +364,6 @@
"cpu": [
"x64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -386,7 +380,6 @@
"cpu": [
"arm64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -403,7 +396,6 @@
"cpu": [
"x64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -420,7 +412,6 @@
"cpu": [
"arm"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -437,7 +428,6 @@
"cpu": [
"arm64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -454,7 +444,6 @@
"cpu": [
"ia32"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -471,7 +460,6 @@
"cpu": [
"loong64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -488,7 +476,6 @@
"cpu": [
"mips64el"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -505,7 +492,6 @@
"cpu": [
"ppc64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -522,7 +508,6 @@
"cpu": [
"riscv64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -539,7 +524,6 @@
"cpu": [
"s390x"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -556,7 +540,6 @@
"cpu": [
"x64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -573,7 +556,6 @@
"cpu": [
"arm64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -590,7 +572,6 @@
"cpu": [
"x64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -607,7 +588,6 @@
"cpu": [
"arm64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -624,7 +604,6 @@
"cpu": [
"x64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -641,7 +620,6 @@
"cpu": [
"arm64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -658,7 +636,6 @@
"cpu": [
"x64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -675,7 +652,6 @@
"cpu": [
"arm64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -692,7 +668,6 @@
"cpu": [
"ia32"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -709,7 +684,6 @@
"cpu": [
"x64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1281,7 +1255,6 @@
"cpu": [
"arm"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1295,7 +1268,6 @@
"cpu": [
"arm64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1307,7 +1279,6 @@
"cpu": [
"arm64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1321,7 +1292,6 @@
"cpu": [
"x64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1335,7 +1305,6 @@
"cpu": [
"arm64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1349,7 +1318,6 @@
"cpu": [
"x64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1363,7 +1331,6 @@
"cpu": [
"arm"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1377,7 +1344,6 @@
"cpu": [
"arm"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1391,7 +1357,6 @@
"cpu": [
"arm64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1405,7 +1370,6 @@
"cpu": [
"arm64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1419,7 +1383,6 @@
"cpu": [
"loong64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1433,7 +1396,6 @@
"cpu": [
"loong64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1447,7 +1409,6 @@
"cpu": [
"ppc64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1461,7 +1422,6 @@
"cpu": [
"ppc64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1475,7 +1435,6 @@
"cpu": [
"riscv64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1489,7 +1448,6 @@
"cpu": [
"riscv64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1503,7 +1461,6 @@
"cpu": [
"s390x"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1517,7 +1474,6 @@
"cpu": [
"x64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1531,7 +1487,6 @@
"cpu": [
"x64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1545,7 +1500,6 @@
"cpu": [
"x64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1559,7 +1513,6 @@
"cpu": [
"arm64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1573,7 +1526,6 @@
"cpu": [
"arm64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1587,7 +1539,6 @@
"cpu": [
"ia32"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1601,7 +1552,6 @@
"cpu": [
"x64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1615,7 +1565,6 @@
"cpu": [
"x64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1962,7 +1911,6 @@
},
"node_modules/@types/estree": {
"version": "1.0.8",
"dev": true,
"license": "MIT"
},
"node_modules/@types/hoist-non-react-statics": {
@@ -1990,7 +1938,7 @@
},
"node_modules/@types/node": {
"version": "24.10.13",
"dev": true,
"devOptional": true,
"license": "MIT",
"dependencies": {
"undici-types": "~7.16.0"
@@ -1998,7 +1946,6 @@
},
"node_modules/@types/react": {
"version": "19.2.14",
"dev": true,
"license": "MIT",
"dependencies": {
"csstype": "^3.2.2"
@@ -2006,7 +1953,7 @@
},
"node_modules/@types/react-dom": {
"version": "19.2.3",
"dev": true,
"devOptional": true,
"license": "MIT",
"peerDependencies": {
"@types/react": "^19.2.0"
@@ -2554,7 +2501,6 @@
},
"node_modules/csstype": {
"version": "3.2.3",
"dev": true,
"license": "MIT"
},
"node_modules/debug": {
@@ -2665,7 +2611,6 @@
},
"node_modules/esbuild": {
"version": "0.27.3",
"dev": true,
"hasInstallScript": true,
"license": "MIT",
"bin": {
@@ -2710,7 +2655,6 @@
"cpu": [
"arm64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -2913,7 +2857,6 @@
},
"node_modules/fdir": {
"version": "6.5.0",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=12.0.0"
@@ -3037,7 +2980,6 @@
},
"node_modules/fsevents": {
"version": "2.3.3",
"dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -3224,13 +3166,6 @@
"node": ">=0.8.19"
}
},
"node_modules/invariant": {
"version": "2.2.4",
"license": "MIT",
"dependencies": {
"loose-envify": "^1.0.0"
}
},
"node_modules/is-extglob": {
"version": "2.1.1",
"dev": true,
@@ -3702,7 +3637,6 @@
},
"node_modules/nanoid": {
"version": "3.3.11",
"dev": true,
"funding": [
{
"type": "github",
@@ -3807,12 +3741,10 @@
},
"node_modules/picocolors": {
"version": "1.1.1",
"dev": true,
"license": "ISC"
},
"node_modules/picomatch": {
"version": "4.0.3",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=12"
@@ -3823,7 +3755,6 @@
},
"node_modules/postcss": {
"version": "8.5.6",
"dev": true,
"funding": [
{
"type": "opencollective",
@@ -3929,22 +3860,6 @@
"version": "2.0.4",
"license": "MIT"
},
"node_modules/react-helmet-async": {
"version": "2.0.5",
"license": "Apache-2.0",
"dependencies": {
"invariant": "^2.2.4",
"react-fast-compare": "^3.2.2",
"shallowequal": "^1.1.0"
},
"peerDependencies": {
"react": "^16.6.0 || ^17.0.0 || ^18.0.0"
}
},
"node_modules/react-helmet-async/node_modules/react-fast-compare": {
"version": "3.2.2",
"license": "MIT"
},
"node_modules/react-infinite-scroll-component": {
"version": "6.1.1",
"license": "MIT",
@@ -4046,7 +3961,6 @@
},
"node_modules/rollup": {
"version": "4.59.0",
"dev": true,
"license": "MIT",
"dependencies": {
"@types/estree": "1.0.8"
@@ -4103,10 +4017,6 @@
"version": "2.7.2",
"license": "MIT"
},
"node_modules/shallowequal": {
"version": "1.1.0",
"license": "MIT"
},
"node_modules/shebang-command": {
"version": "2.0.0",
"dev": true,
@@ -4216,7 +4126,6 @@
},
"node_modules/tinyglobby": {
"version": "0.2.15",
"dev": true,
"license": "MIT",
"dependencies": {
"fdir": "^6.5.0",
@@ -4289,7 +4198,7 @@
},
"node_modules/typescript": {
"version": "5.9.3",
"dev": true,
"devOptional": true,
"license": "Apache-2.0",
"bin": {
"tsc": "bin/tsc",
@@ -4323,7 +4232,7 @@
},
"node_modules/undici-types": {
"version": "7.16.0",
"dev": true,
"devOptional": true,
"license": "MIT"
},
"node_modules/update-browserslist-db": {
@@ -4372,7 +4281,6 @@
},
"node_modules/vite": {
"version": "7.3.1",
"dev": true,
"license": "MIT",
"dependencies": {
"esbuild": "^0.27.0",
-1
View File
@@ -21,7 +21,6 @@
"react": "^19.2.0",
"react-dom": "^19.2.0",
"react-dropzone": "^14.3.8",
"react-helmet-async": "^2.0.5",
"react-infinite-scroll-component": "^6.1.0",
"react-loading-skeleton": "^3.5.0",
"react-multi-date-picker": "^4.5.2",
-4
View File
@@ -8,7 +8,6 @@ import { QueryCache, QueryClient, QueryClientProvider } from '@tanstack/react-qu
import MainRouter from './router/MainRouter'
// import AuthRouter from './router/AuthRouter'
import ToastContainer from './components/Toast'
import { HelmetProvider } from 'react-helmet-async';
import { getRefreshToken, getToken, removeRefreshToken, removeToken, setRefreshToken, setToken } from './config/func';
import AuthRouter from './router/AuthRouter';
import type { IApiErrorRepsonse } from './shared/types/Types';
@@ -132,10 +131,7 @@ const App: FC = () => {
return (
<QueryClientProvider client={queryClient}>
<BrowserRouter>
<HelmetProvider>
{isLoggedIn ? <MainRouter /> : <AuthRouter />}
</HelmetProvider>
<ToastContainer />
</BrowserRouter>
</QueryClientProvider>
-6
View File
@@ -11,7 +11,6 @@ import * as Yup from 'yup'
import { toast } from '../../shared/toast'
// import type { ErrorType } from '../../helpers/types'
// import { useCreateCriticisms } from './hooks/useCriticismsData'
import { Helmet } from 'react-helmet-async'
import { t } from '../../locale'
const AddCriticisms: FC = () => {
@@ -72,11 +71,6 @@ const AddCriticisms: FC = () => {
return (
<div className='mt-4 text-sm'>
<Helmet>
<title>
داناک | انتقادات
</title>
</Helmet>
<div>
{t('criticisms.criticisms')}
</div>
-5
View File
@@ -1,5 +1,4 @@
import { type FC, useState } from 'react'
import { Helmet } from 'react-helmet-async'
import { Printer, TickCircle } from 'iconsax-react'
import ModalConfirm from '@/components/ModalConfirm'
import Button from '@/components/Button'
@@ -140,10 +139,6 @@ const InvoiceDetail: FC = () => {
return (
<div className='mt-4 text-sm'>
<Helmet>
<title>داناک | صورت حساب {invoiceData.invoiceNumber}</title>
</Helmet>
{/* Header */}
<div className='flex justify-between items-center mb-6'>
<div className='text-sm text-[#8C90A3]'>
-6
View File
@@ -5,7 +5,6 @@ import PageLoading from '../../components/PageLoading'
// import DanakLearning from '../home/components/DanakLearning'
import { Calendar2, Clock, Element3 } from 'iconsax-react'
import moment from 'moment-jalaali'
import { Helmet } from 'react-helmet-async'
import { type LearningItemType } from './types/LearningTypes'
const LearningDetail: FC = () => {
@@ -15,11 +14,6 @@ const LearningDetail: FC = () => {
return (
<div className='mt-4'>
<Helmet>
<title>
داناک | آموزش
</title>
</Helmet>
{
getLearningDetail.isPending ?
<PageLoading />
-6
View File
@@ -8,7 +8,6 @@ import { type LearningItemType } from './types/LearningTypes'
import moment from 'moment-jalaali'
import { Link } from 'react-router-dom'
// import { Pages } from '../../config/Pages'
import { Helmet } from 'react-helmet-async'
const LearningList: FC = () => {
@@ -18,11 +17,6 @@ const LearningList: FC = () => {
return (
<div className='w-full flex gap-6 mt-4'>
<Helmet>
<title>
داناک | آموزش
</title>
</Helmet>
<div className='flex-1'>
<div>
آموزش
-6
View File
@@ -19,7 +19,6 @@ import { staticCategoriesData, staticProfileData, staticServicesData } from './d
// import { Pages } from '../../config/Pages'
// import { useGetMyServices } from '../service/hooks/useServiceData'
// import { MyServicesItem } from '../service/types/ServiecTypes'
// import { Helmet } from 'react-helmet-async'
import { fa } from '@/locale/fa'
import Textarea from '@/components/Textarea'
@@ -98,11 +97,6 @@ const CreateTicket: FC = () => {
return (
<div className='mt-4 pb-12'>
{/* <Helmet>
<title>
داناک | ایجاد تیکت
</title>
</Helmet> */}
<div>
{t('ticket.new_ticket')}
</div>
-6
View File
@@ -19,7 +19,6 @@ import moment from 'moment-jalaali'
import { clx } from '../../helpers/utils'
import { fa } from '@/locale/fa'
// import { Pages } from '../../config/Pages'
// import { Helmet } from 'react-helmet-async'
const TicketDetail: FC = () => {
@@ -89,11 +88,6 @@ const TicketDetail: FC = () => {
return (
<div className='mt-4'>
{/* <Helmet>
<title>
داناک | تیکت
</title>
</Helmet> */}
<div className='flex gap-1'>
<div>{t('ticket.ticket_number')}</div>
</div>