fix: show download per document attachment

This commit is contained in:
TerryM
2026-06-05 18:20:27 +08:00
parent a9ec46e008
commit 5d550e0342
2 changed files with 3 additions and 8 deletions

View File

@@ -9,7 +9,6 @@ import { VideoBubble } from "./bubbles/VideoBubble";
import { LinkPreviewCard } from "./LinkPreviewCard";
import { formatDateTime } from "./utils/formatTime";
import { FavoriteButton } from "../../favorites/FavoriteButton";
import { BubbleAttachmentDownloadButton } from "./BubbleAttachmentDownloadButton";
export type MessageBubbleVariant = "default" | "latest";
@@ -107,12 +106,6 @@ export function MessageBubble({
onFavoriteChange?.(post.id, favorited)
}
/>
{isFileBubble && post.attachments[0] ? (
<BubbleAttachmentDownloadButton
postId={post.id}
attachment={post.attachments[0]}
/>
) : null}
</div>
</div>
) : null}