feat: reorder Add Playlist button for improved visibility in PlaylistsHeader
Some checks failed
Frontend CI / lint (push) Failing after 18s
Frontend CI / build (push) Has been skipped

This commit is contained in:
JSC
2025-08-16 00:06:33 +02:00
parent 9cfa1f6a28
commit 7b01ace746
2 changed files with 4 additions and 14 deletions

View File

@@ -48,15 +48,15 @@ export function PlaylistsHeader({
</p>
</div>
<div className="flex items-center gap-4">
<Button onClick={onCreateClick}>
<Plus className="h-4 w-4 mr-2" />
Add Playlist
</Button>
{!loading && !error && (
<div className="text-sm text-muted-foreground">
{playlistCount} playlist{playlistCount !== 1 ? 's' : ''}
</div>
)}
<Button onClick={onCreateClick}>
<Plus className="h-4 w-4 mr-2" />
Add Playlist
</Button>
</div>
</div>