Remove another unused local

This commit is contained in:
0x1eef 2023-07-01 19:36:17 -03:00
parent de070a08ad
commit 0a25e3aeb1

View file

@ -113,7 +113,6 @@ function SurahStream({ node, locale, slice, paused, t }: Props) {
(function() {
const root: HTMLElement = document.querySelector('.root')!;
const locale = root.getAttribute('data-locale') as Quran.Locale;
const surahId = parseInt(root.getAttribute('data-surah-id')!);
const node: HTMLScriptElement = document.querySelector('script.surah')!;
const toBoolean = (str: string | null): boolean => str !== null && ['1', 't', 'true', 'yes'].includes(str);
const params = new URLSearchParams(location.search);