diff --git a/web/src/widgets/VisitorChat.tsx b/web/src/widgets/VisitorChat.tsx index 28672a9..5ec5ae9 100644 --- a/web/src/widgets/VisitorChat.tsx +++ b/web/src/widgets/VisitorChat.tsx @@ -466,7 +466,7 @@ const VisitorChat = ({ {messages.map(msg => ( msg.sender === 'visitor' ? ( -
+
{msg.type === 'image' ? ( @@ -474,17 +474,25 @@ const VisitorChat = ({

{msg.content}

)}
+ {msg.time && ( + {msg.time} + )}
) : (
-
- {msg.type === 'image' ? ( - - ) : ( -

{msg.content}

+
+
+ {msg.type === 'image' ? ( + + ) : ( +

{msg.content}

+ )} +
+ {msg.time && ( + {msg.time} )}
@@ -509,11 +517,7 @@ const VisitorChat = ({
-