fix: hide actions when loading

This commit is contained in:
石门 2023-03-28 18:48:03 +08:00
parent c93a46a02f
commit 7a5c35baf3

View File

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