From 87a61cfe9660112330c7139d533c7fe68a2cc790 Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Tue, 30 Apr 2024 01:06:16 -0300 Subject: [PATCH] 'npm run prettier' --- src/js/components/SurahIndex/index.tsx | 7 +------ src/js/loaders/SurahStreamLoader.ts | 9 ++++++--- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/src/js/components/SurahIndex/index.tsx b/src/js/components/SurahIndex/index.tsx index df8a73b4d..5ea171e09 100644 --- a/src/js/components/SurahIndex/index.tsx +++ b/src/js/components/SurahIndex/index.tsx @@ -78,12 +78,7 @@ export function SurahIndex({ locale, surahs, t }: Props) { {t(locale, "ChooseRandomChapter")} - + ); diff --git a/src/js/loaders/SurahStreamLoader.ts b/src/js/loaders/SurahStreamLoader.ts index b77d03ad7..f38c25c4f 100644 --- a/src/js/loaders/SurahStreamLoader.ts +++ b/src/js/loaders/SurahStreamLoader.ts @@ -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}`, });