fix: ui fixes

This commit is contained in:
gosangam
2026-06-14 18:04:11 +05:30
parent c8de98c8de
commit 7585e6cb31
2 changed files with 86 additions and 1 deletions
+9 -1
View File
@@ -6,6 +6,9 @@
* The list comes from the layout's profile fetch (`public_collections`),
* so this page only has to decide between the empty state and the grid.
* Layout owns the ProfileHeader + tabs + container.
*
* Cards link into /u/[handle]/collections/[id] — the same grid → carousel
* detail structure the auth user gets at /u/me/collections.
*/
import { CollectionViews } from "@/components/social/collection/collection-views";
@@ -23,5 +26,10 @@ export default function PublicProfileCollectionsPage() {
);
}
return <CollectionViews collections={list} hrefFor={(c) => `/c/${c.id}`} />;
return (
<CollectionViews
collections={list}
hrefFor={(c) => `/u/${data.handle}/collections/${c.id}`}
/>
);
}