Add 30 n1234

This commit is contained in:
yznahmad 2025-06-21 04:24:21 +03:00
parent 66fddb2a83
commit 97e6aac39d
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ export default function ServicesSubscriptions()
const themeType = useAppSelector((state) => state.themeTypeReducer.value.themeType) const themeType = useAppSelector((state) => state.themeTypeReducer.value.themeType)
// declare global variables // declare global variables
const cookies = new Cookies(); const cookies = new Cookies();
const t = useTranslations('statistics'); const t = useTranslations();
const locale = cookies.get("NEXT_LOCALE") const locale = cookies.get("NEXT_LOCALE")
const isRtl = locale == 'ar' ? true : false const isRtl = locale == 'ar' ? true : false
const isDark = themeType == 'dark' ? true : false const isDark = themeType == 'dark' ? true : false

View File

@ -13,7 +13,7 @@ export default function WorkersJobTypes()
const themeType = useAppSelector((state) => state.themeTypeReducer.value.themeType) const themeType = useAppSelector((state) => state.themeTypeReducer.value.themeType)
// declare global variables // declare global variables
const cookies = new Cookies(); const cookies = new Cookies();
const t = useTranslations('statistics'); const t = useTranslations();
const locale = cookies.get("NEXT_LOCALE") const locale = cookies.get("NEXT_LOCALE")
const isRtl = locale == 'ar' ? true : false const isRtl = locale == 'ar' ? true : false
const isDark = themeType == 'dark' ? true : false const isDark = themeType == 'dark' ? true : false