- {viewToggle === "listing" ? (
-
- {userReviews.length > 0 ? (
-
- ) : (
-
This user has no reviews ( ˘・з・)
- )}
-
- ) : viewToggle === "review" ? (
-
- {userListings.length > 0 ? (
-
- ) : (
-
This user has no listings ( ˘・з・)
- )}
-
+ {viewToggle === "listing" ? (
+
+ {userListings.length > 0 ? (
+
+ ) : (
+
This user has no listings ( ˘・з・)
+ )}
+
+ ) : viewToggle === "review" ? (
+
+ {userReviews.length > 0 ? (
+
+ ) : (
+
This user has no reviews ( ˘・з・)
+ )}
+
) : (
{userForumPosts.length > 0 ? (
@@ -348,4 +348,4 @@ function UserProfile() {
);
}
-export default UserProfile;
\ No newline at end of file
+export default UserProfile;