mirror of
https://github.com/p-stream/p-stream.git
synced 2026-03-11 09:45:33 +00:00
fix typescript error
This commit is contained in:
parent
a53a89a5f0
commit
b59b136eea
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue