Преглед на файлове

fix: hide actions when loading

石门 преди 2 години
родител
ревизия
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