We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c44287a commit b3bf329Copy full SHA for b3bf329
web/src/modules/browse/components/SongCard.tsx
@@ -48,9 +48,16 @@ const SongDataDisplay = ({ song }: { song: SongPreviewDtoType | null }) => {
48
{!song ? (
49
<Skeleton />
50
) : (
51
- `${song.uploader.username} • ${formatTimeAgo(
52
- new Date(song.createdAt),
53
- )}`
+ <>
+ <Link
+ href={`/user/${song.uploader.username}`}
54
+ className='hover:underline'
55
+ >
56
+ {song.uploader.username}
57
+ </Link>
58
+ {' • '}
59
+ {formatTimeAgo(new Date(song.createdAt))}
60
+ </>
61
)}
62
</p>
63
{/* Play icon & count */}
0 commit comments