From 0a25e3aeb1916bd36369b4de24475deb8d990ad3 Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Sat, 1 Jul 2023 19:36:17 -0300 Subject: [PATCH] Remove another unused local --- src/js/pages/surah/stream.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/js/pages/surah/stream.tsx b/src/js/pages/surah/stream.tsx index 08e0e5114..93c57c58c 100644 --- a/src/js/pages/surah/stream.tsx +++ b/src/js/pages/surah/stream.tsx @@ -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);