소스 검색

fix: hide actions when loading

石门 1 년 전
부모
커밋
7a5c35baf3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/components/home.tsx

+ 1 - 1
app/components/home.tsx

@@ -314,7 +314,7 @@ export function Chat(props: { showSideBar?: () => void }) {
                   </div>
                 )}
                 <div className={styles["chat-message-item"]}>
-                  {!isUser && (
+                  {(!isUser && !message.preview) && (
                     <div className={styles["chat-message-top-actions"]}>
                       {message.streaming ? (
                         <div