fix: when getting user don't return entire user to client, fix: pass user to post component as part of post
This commit is contained in:
@@ -13,7 +13,7 @@ export default async function UserProfilePage({
|
||||
clerkUserId: params.id,
|
||||
});
|
||||
|
||||
if (user === null) {
|
||||
if (user === 'USER_NOT_FOUND') {
|
||||
// TODO: Show real not found component
|
||||
return <div>Not Found</div>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user