diff --git a/src/js/components/SurahIndex.tsx b/src/js/components/SurahIndex.tsx index 939e616..1ceea4d 100644 --- a/src/js/components/SurahIndex.tsx +++ b/src/js/components/SurahIndex.tsx @@ -17,6 +17,7 @@ export function SurahIndex({ locale, surahs, t }: Props) { const [theme, setTheme] = useTheme(); const [index, setIndex] = useState(surahs); const ref = useRef(); + const ltr = locale === "en"; useEffect(() => { if (ref.current) { @@ -63,8 +64,8 @@ export function SurahIndex({ locale, surahs, t }: Props) { className="flex flex-row items-center no-underline" href={`/${locale}/random/`} > - - {t(locale, "ChooseRandomChapter")} + {ltr && } + {t(locale, "ChooseRandomChapter")}