{t('playlists.title')}
setFilter(e.target.value)}
/>
{loading ? (
) : playlists.length === 0 ? (
{t('playlists.empty')}
) : (
{visible.length === 0 ? (
{t('playlists.noResults')}
) : visible.map(p => (
{p.name}
{t('playlists.track', { count: p.songCount })}
{formatDuration(p.duration)}
))}
)}
);
}