From fb825d4f5cf84a5125ad62cc4b5bf484dc0811d9 Mon Sep 17 00:00:00 2001 From: Saul Carlin Date: Tue, 25 Jun 2024 20:47:59 -0700 Subject: [PATCH] fix: repeated avatar in series --- components/Chat/Message/Message.tsx | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/components/Chat/Message/Message.tsx b/components/Chat/Message/Message.tsx index 02fd6b143..8979401f1 100644 --- a/components/Chat/Message/Message.tsx +++ b/components/Chat/Message/Message.tsx @@ -94,10 +94,19 @@ const MessageSenderAvatar = ({ message }: { message: MessageToDisplay }) => { const styles = useStyles(); return ( - + {!message.hasNextMessageInSeries ? ( + + ) : ( + + )} ); };