File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export function VideoThumbnail({
1414 onPlay,
1515} : VideoThumbnailProps ) {
1616 return (
17- < div className = { cn ( "relative w-full h-full overflow-hidden group cursor-pointer" , className ) } onClick = { onPlay } >
17+ < div className = { cn ( [ "relative w-full h-full overflow-hidden group cursor-pointer" , className ] ) } onClick = { onPlay } >
1818 { /* Static thumbnail from Mux */ }
1919 < MuxPlayer
2020 playbackId = { playbackId }
@@ -34,12 +34,12 @@ export function VideoThumbnail({
3434 e . stopPropagation ( ) ;
3535 onPlay ?.( ) ;
3636 } }
37- className = { cn (
37+ className = { cn ( [
3838 "size-16 rounded-full bg-white/90 backdrop-blur-sm" ,
3939 "flex items-center justify-center" ,
4040 "hover:bg-white hover:scale-110 transition-all duration-200" ,
4141 "shadow-xl" ,
42- ) }
42+ ] ) }
4343 aria-label = "Play video"
4444 >
4545 < Icon icon = "mdi:play" className = "text-4xl text-stone-700 ml-1" />
You can’t perform that action at this time.
0 commit comments