From 58bc5989209b42671385336f5d437301419bbf79 Mon Sep 17 00:00:00 2001 From: Banks Nussman Date: Sun, 20 Oct 2024 00:26:41 -0400 Subject: [PATCH] feat: improve beeps list in app --- app/components/Beep.tsx | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/app/components/Beep.tsx b/app/components/Beep.tsx index 9b9f4f4e..4ef81091 100644 --- a/app/components/Beep.tsx +++ b/app/components/Beep.tsx @@ -57,16 +57,22 @@ export function Beep({ item }: Props) { Group size {item.groupSize} - - Your Rating - {myRating ? printStars(myRating.stars) : "N/A"} - - - {otherUser.first}'s Rating - - {otherUsersRating ? printStars(otherUsersRating.stars) : "N/A"} - - + {item.status === "complete" && ( + <> + + Your Rating + {myRating ? printStars(myRating.stars) : "N/A"} + + + {otherUser.first}'s Rating + + {otherUsersRating + ? printStars(otherUsersRating.stars) + : "N/A"} + + + + )}