2026-05-25 05:25:57 +08:00
|
|
|
import type { Post } from "../../../types/post";
|
2026-05-29 22:16:55 +08:00
|
|
|
import { SingleImageFrame } from "./SingleImageFrame";
|
2026-05-25 05:25:57 +08:00
|
|
|
|
|
|
|
|
export function ImageBubble({ post }: { post: Post }) {
|
|
|
|
|
const att = post.attachments[0];
|
|
|
|
|
if (!att) return null;
|
2026-05-29 22:16:55 +08:00
|
|
|
return <SingleImageFrame postId={post.id} attachment={att} />;
|
2026-05-25 05:25:57 +08:00
|
|
|
}
|