Skip to content

Commit 39deb9c

Browse files
committed
Fix typecheck error with controlsList property
1 parent 46f78b0 commit 39deb9c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

via/static/scripts/video_player/components/HTMLVideoPlayer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export default function HTMLVideoPlayer({
116116
};
117117
}, [transcript]);
118118

119-
const controlsList = !allowDownload ? 'nodownload' : '';
119+
const controlsList = !allowDownload ? 'nodownload' : undefined;
120120

121121
return (
122122
<AspectRatio>

0 commit comments

Comments
 (0)