diff --git a/client/src/routes/post.tsx b/client/src/routes/post.tsx index 4d6f800..d4840a0 100644 --- a/client/src/routes/post.tsx +++ b/client/src/routes/post.tsx @@ -137,7 +137,7 @@ export default function PostView() { {postToDisplay?.comments?.map((comment) => ( - + {comment.createdBy?.firstName} {comment.createdBy?.lastName} diff --git a/client/src/routes/profile.tsx b/client/src/routes/profile.tsx index c80aca4..f2055c9 100644 --- a/client/src/routes/profile.tsx +++ b/client/src/routes/profile.tsx @@ -85,6 +85,10 @@ export default function Profile(props: ProfileProps) { @@ -138,15 +142,25 @@ export default function Profile(props: ProfileProps) { - - {userToDisplay!.posts?.map((post: Post) => ( - - )) || ( - - This user has no posts yet! - - )} - + + + {userToDisplay!.posts?.map((post: Post) => ( + + )) || ( + + This user has no posts yet! + + )} + + )}