fix: hide actions when loading

This commit is contained in:
石门 2023-03-28 18:59:03 +08:00
parent 1d9584afda
commit cb887d5be0

View File

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