fix: show download per document attachment
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user