From b59b136eea7b5747429e38f55b65c54590253278 Mon Sep 17 00:00:00 2001 From: Pas <74743263+Pasithea0@users.noreply.github.com> Date: Mon, 2 Mar 2026 16:13:48 -0700 Subject: [PATCH] fix typescript error --- src/components/player/atoms/settings/Downloads.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/player/atoms/settings/Downloads.tsx b/src/components/player/atoms/settings/Downloads.tsx index 9b3fdc6d..21868be6 100644 --- a/src/components/player/atoms/settings/Downloads.tsx +++ b/src/components/player/atoms/settings/Downloads.tsx @@ -75,7 +75,7 @@ export function DownloadView({ id }: { id: string }) { if (!downloadUrl) return; const title = meta?.title ? meta.title : "Video"; const poster = meta?.poster; - let subtitleText = null; + let subtitleText: string | undefined; if (selectedCaption?.srtData) { subtitleText = selectedCaption.srtData;