Remove another unused local
This commit is contained in:
parent
de070a08ad
commit
0a25e3aeb1
1 changed files with 0 additions and 1 deletions
|
@ -113,7 +113,6 @@ function SurahStream({ node, locale, slice, paused, t }: Props) {
|
||||||
(function() {
|
(function() {
|
||||||
const root: HTMLElement = document.querySelector('.root')!;
|
const root: HTMLElement = document.querySelector('.root')!;
|
||||||
const locale = root.getAttribute('data-locale') as Quran.Locale;
|
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 node: HTMLScriptElement = document.querySelector('script.surah')!;
|
||||||
const toBoolean = (str: string | null): boolean => str !== null && ['1', 't', 'true', 'yes'].includes(str);
|
const toBoolean = (str: string | null): boolean => str !== null && ['1', 't', 'true', 'yes'].includes(str);
|
||||||
const params = new URLSearchParams(location.search);
|
const params = new URLSearchParams(location.search);
|
||||||
|
|
Loading…
Reference in a new issue