Open surah stream in the same tab

This commit is contained in:
0x1eef 2023-03-10 08:52:53 -03:00
parent 83776cde87
commit ce44f2e4d3

View file

@ -37,7 +37,7 @@ function SurahIndex({ locale, surahs }: Props) {
<ul className="body index scroll-y">
{surahs.map((surah, key) => (
<li className="surah" key={key}>
<a href={`/${locale}/${surah.slug}`} target="_blank" rel="noreferrer">
<a href={`/${locale}/${surah.slug}`}>
<div className="surah id">{surah.id.toLocaleString(locale)}</div>
<div className="surah name">{surah.localizedName}</div>
<div className="surah name transliterated" lang="en">{surah.transliteratedName}</div>