fix(web): use username/slug URL format for collection links on /collections page
This commit is contained in:
parent
1118463e6b
commit
9c731d582e
1 changed files with 1 additions and 1 deletions
|
|
@ -141,7 +141,7 @@ export default function PublicCollectionsPage(): React.ReactElement {
|
|||
<>
|
||||
<td className="px-4 py-3">
|
||||
<Link
|
||||
href={`/collections/${collection.id}`}
|
||||
href={collection.createdBy.username ? `/${collection.createdBy.username}/collections/${collection.slug}` : `/collections/${collection.id}`}
|
||||
className="font-semibold text-foreground hover:text-primary group-hover:text-primary transition-colors"
|
||||
>
|
||||
{collection.name}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue