'npm run prettier'
This commit is contained in:
parent
8e7fc9d6d5
commit
87a61cfe96
2 changed files with 7 additions and 9 deletions
|
@ -78,12 +78,7 @@ export function SurahIndex({ locale, surahs, t }: Props) {
|
|||
{t(locale, "ChooseRandomChapter")}
|
||||
</span>
|
||||
</a>
|
||||
<Filter
|
||||
t={t}
|
||||
locale={locale}
|
||||
surahs={surahs}
|
||||
setIndex={setIndex}
|
||||
/>
|
||||
<Filter t={t} locale={locale} surahs={surahs} setIndex={setIndex} />
|
||||
</footer>
|
||||
</div>
|
||||
);
|
||||
|
|
|
@ -19,9 +19,12 @@ import * as Quran from "~/lib/Quran";
|
|||
item.font("Mada Regular", "url(/fonts/mada-regular.ttf"),
|
||||
item.json(`/json/${locale}/${surahId}/surah.json`, { className: "surah" }),
|
||||
...recitations.map((recitation: Quran.Recitation) => {
|
||||
const path = ["/json", "/durations", `${recitation.id}`, `${surahId}.json`].join(
|
||||
"/",
|
||||
);
|
||||
const path = [
|
||||
"/json",
|
||||
"/durations",
|
||||
`${recitation.id}`,
|
||||
`${surahId}.json`,
|
||||
].join("/");
|
||||
return item.json(path, {
|
||||
className: `recitation time-slots ${recitation.id}`,
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue