diff --git a/src/components/Sidepanel/Settings/header.tsx b/src/components/Sidepanel/Settings/header.tsx index 9f714d8..0919926 100644 --- a/src/components/Sidepanel/Settings/header.tsx +++ b/src/components/Sidepanel/Settings/header.tsx @@ -1,14 +1,22 @@ -import { ChevronLeft } from "lucide-react" +import { ChevronLeft, ChevronRight } from "lucide-react" import { useTranslation } from "react-i18next" import { Link } from "react-router-dom" import logoImage from "~/assets/icon.png" export const SidepanelSettingsHeader = () => { - const { t } = useTranslation("common") + const { t , i18n} = useTranslation("common") + const isRTL = i18n?.dir() === "rtl" + return (
- + { + isRTL ? ( + + ) : ( + + ) + }
{t("pageAssist")}