diff --git a/apps/web/src/features/playlists/components/PlaylistList.tsx b/apps/web/src/features/playlists/components/PlaylistList.tsx index 7a10a9f6e..381f320e3 100644 --- a/apps/web/src/features/playlists/components/PlaylistList.tsx +++ b/apps/web/src/features/playlists/components/PlaylistList.tsx @@ -353,7 +353,7 @@ export function PlaylistList({ className="text-xs sm:text-sm text-muted-foreground text-center sm:text-left" aria-live="polite" > - Page {currentPage} sur {totalPages} ({data.total} playlists) + Page {currentPage} sur {totalPages} ({data?.total || 0} playlists)
- {isOwnProfile + {currentUser?.id === profile.id ? 'Start by uploading your first track to share with others.' : 'This user has not uploaded any tracks yet.'}
@@ -298,7 +298,7 @@ export function UserProfilePage() {- {isOwnProfile + {currentUser?.id === profile.id ? 'Create your first playlist to organize your favorite tracks.' : 'This user has not created any playlists yet.'}