refactor: comment out unused JSX elements in Playlist component for cleaner code
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user