ProfileCollectionsAPI: Update

This commit is contained in:
thororen1234 2026-03-26 10:45:01 -04:00
parent 07e6f929f8
commit 0d0e749f96
No known key found for this signature in database

View file

@ -59,7 +59,7 @@ function ProfileCollections({ props }: { props: any; }) {
return Array.from(profileCollections)
.map(([id, { render: Collection }]) => (
<ErrorBoundary noop key={id} onError={e => logger.error(`Failed to render profile collection: ${id}`, e.error)}>
{Collection({ ...props, user: props.user ?? props.currentUser })}
<Collection {...props} user={props.user ?? props.currentUser} />
</ErrorBoundary>
));
}