diff --git a/webapp/src/components/dashboard/home/servicesSubscriptions.tsx b/webapp/src/components/dashboard/home/servicesSubscriptions.tsx index 41f9eeb..9d0c637 100644 --- a/webapp/src/components/dashboard/home/servicesSubscriptions.tsx +++ b/webapp/src/components/dashboard/home/servicesSubscriptions.tsx @@ -13,7 +13,7 @@ export default function ServicesSubscriptions() const themeType = useAppSelector((state) => state.themeTypeReducer.value.themeType) // declare global variables const cookies = new Cookies(); - const t = useTranslations('statistics'); + const t = useTranslations(); const locale = cookies.get("NEXT_LOCALE") const isRtl = locale == 'ar' ? true : false const isDark = themeType == 'dark' ? true : false diff --git a/webapp/src/components/dashboard/home/workersJobTypes.tsx b/webapp/src/components/dashboard/home/workersJobTypes.tsx index e810a8d..cf72b7b 100644 --- a/webapp/src/components/dashboard/home/workersJobTypes.tsx +++ b/webapp/src/components/dashboard/home/workersJobTypes.tsx @@ -13,7 +13,7 @@ export default function WorkersJobTypes() const themeType = useAppSelector((state) => state.themeTypeReducer.value.themeType) // declare global variables const cookies = new Cookies(); - const t = useTranslations('statistics'); + const t = useTranslations(); const locale = cookies.get("NEXT_LOCALE") const isRtl = locale == 'ar' ? true : false const isDark = themeType == 'dark' ? true : false