fix typescript error

This commit is contained in:
Pas 2026-03-02 16:13:48 -07:00
parent a53a89a5f0
commit b59b136eea

View file

@ -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;