chore: remove console log
This commit is contained in:
@@ -10,7 +10,6 @@ export const CustomThemeProvider: React.FC<{ children: React.ReactNode }> = ({
|
|||||||
const { i18n } = useTranslation();
|
const { i18n } = useTranslation();
|
||||||
|
|
||||||
const theme = useMemo(() => {
|
const theme = useMemo(() => {
|
||||||
console.log('Theme recalculated, lang:', i18n.language);
|
|
||||||
const direction = i18n.dir(i18n.language);
|
const direction = i18n.dir(i18n.language);
|
||||||
const isEnglish = i18n.language?.startsWith('en');
|
const isEnglish = i18n.language?.startsWith('en');
|
||||||
const fontFamily = isEnglish ? 'iranyekanEnNum' : 'iranyekan';
|
const fontFamily = isEnglish ? 'iranyekanEnNum' : 'iranyekan';
|
||||||
|
|||||||
Reference in New Issue
Block a user