refactor: comment out unused JSX elements in Playlist component for cleaner code

This commit is contained in:
JSC
2025-08-09 20:58:22 +02:00
parent a5290947a3
commit 5ca8c8bf15

View File

@@ -92,16 +92,16 @@ export function Playlist({
)}> )}>
{sound.name} {sound.name}
</p> </p>
<p className={cn( {/* <p className={cn(
'text-muted-foreground truncate', 'text-muted-foreground truncate',
variant === 'maximized' ? 'text-xs' : 'text-[10px]' variant === 'maximized' ? 'text-xs' : 'text-[10px]'
)}> )}>
{sound.filename} {sound.filename}
</p> </p> */}
</div> </div>
{/* Duration and Type */} {/* Duration and Type */}
<div className="flex flex-col items-end gap-1 flex-shrink-0"> {/* <div className="flex flex-col items-end gap-1 flex-shrink-0">
<span className={cn( <span className={cn(
'text-muted-foreground', 'text-muted-foreground',
variant === 'maximized' ? 'text-xs' : 'text-[10px]' variant === 'maximized' ? 'text-xs' : 'text-[10px]'
@@ -116,7 +116,7 @@ export function Playlist({
> >
{sound.type} {sound.type}
</Badge> </Badge>
</div> </div> */}
</div> </div>
))} ))}
</div> </div>