diff --git a/README.md b/README.md index 22ad161..8c1a836 100644 --- a/README.md +++ b/README.md @@ -8,12 +8,11 @@ The project is still in the early stages of development. ## Requirements -The following languages and tools have to be -installed to build the website from source: +The following languages have to be installed to build +the website from source: * Ruby 3.2 (or later) * NodeJS v18.15 (or later) -* [tidy-html5](https://github.com/htacg/tidy-html5) ## Development diff --git a/src/js/components/SurahStream/index.tsx b/src/js/components/SurahStream/index.tsx index 216ab17..39f5dcc 100644 --- a/src/js/components/SurahStream/index.tsx +++ b/src/js/components/SurahStream/index.tsx @@ -34,7 +34,7 @@ export function SurahStream({ surahId, localeId, t }: Props) { const [theme, setTheme] = useTheme(); const locale = Quran.locales[localeId]; - const surah = Quran.surahs[localeId][parseInt(surahId) - 1] + const surah = Quran.surahs[localeId][parseInt(surahId) - 1]; const rootRef = useRef(null); const audio = useMemo(() => new Audio(), []); const readyToRender = stream.length > 0; diff --git a/src/js/index.tsx b/src/js/index.tsx index 427357c..0ff5cf5 100644 --- a/src/js/index.tsx +++ b/src/js/index.tsx @@ -27,10 +27,31 @@ document.addEventListener("DOMContentLoaded", () => { return () => { return ( - - - - + + + + + ); };