From 8f74cc61ecda2470905b20ac595f014202d3d5c4 Mon Sep 17 00:00:00 2001 From: Dominic Elm Date: Thu, 22 Aug 2024 14:27:34 +0200 Subject: [PATCH] fix: user avatar (#51) --- packages/bolt/app/components/chat/Messages.client.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/bolt/app/components/chat/Messages.client.tsx b/packages/bolt/app/components/chat/Messages.client.tsx index 6d04542..918edb4 100644 --- a/packages/bolt/app/components/chat/Messages.client.tsx +++ b/packages/bolt/app/components/chat/Messages.client.tsx @@ -35,8 +35,12 @@ export const Messages = React.forwardRef((props: })} > {isUserMessage && ( -
- {avatar ? :
} +
+ {avatar ? ( + + ) : ( +
+ )}
)}