|
@ -16,7 +16,6 @@ const MobileNavigation = () => { |
|
|
const { t } = useTranslation("common"); // Use the translation hook for common translations
|
|
|
const { t } = useTranslation("common"); // Use the translation hook for common translations
|
|
|
const isRTL = |
|
|
const isRTL = |
|
|
rtlLanguages.includes(i18n?.language) || false; |
|
|
rtlLanguages.includes(i18n?.language) || false; |
|
|
console.log(i18n?.language); |
|
|
|
|
|
|
|
|
|
|
|
const sidebarVariants = { |
|
|
const sidebarVariants = { |
|
|
hidden: { x: isRTL ? "100%" : "-100%" }, // Start off-screen to the right for RTL, left for LTR
|
|
|
hidden: { x: isRTL ? "100%" : "-100%" }, // Start off-screen to the right for RTL, left for LTR
|
|
|