setIsHovering(false)}
+ onMouseEnter={(event) => setIsHovering(true)}
onClick={props.chatMessage.by === "khoj" ? (event) => undefined : undefined}>
@@ -315,40 +329,49 @@ export default function ChatMessage(props: ChatMessageProps) {
onlineReferenceCardData={allReferences.onlineReferenceCardData} />
- {/*
- {renderTimeStamp(props.chatMessage.created)}
-
*/}
-
- {
-
-
-
- }
-
- {
- props.chatMessage.by === "khoj" &&
- (
- props.chatMessage.intent ?
-
- :
- )
- }
-
+ {
+ isHovering &&
+ (
+ <>
+
+ {renderTimeStamp(props.chatMessage.created)}
+
+
+ {
+ (props.chatMessage.by === "khoj") &&
+ (
+
+ )
+ }
+
+ {
+ (props.chatMessage.by === "khoj") &&
+ (
+ props.chatMessage.intent ?
+
+ :
+ )
+ }
+
+ >
+ )
+ }
+