Bläddra i källkod

fix: hide actions when loading

石门 1 år sedan
förälder
incheckning
7a5c35baf3
1 ändrade filer med 1 tillägg och 1 borttagningar
  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