fix: correctly show the variant label instead

This commit is contained in:
Timothy Z. 2026-04-23 19:40:37 +02:00
parent d5b73f8dc2
commit 3c417a3306

View file

@ -65,7 +65,7 @@ const SubtitleVariant = ({ track, selected, onSelect }: Props) => {
return (
<Button
ref={buttonRef}
title={track.label}
title={variantLabel}
onClick={onSelectClick}
className={classNames(styles['variant-option'], { 'selected': selected })}
>