fix: ui fixes
This commit is contained in:
@@ -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}`}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user