Skip to content
This repository was archived by the owner on Mar 16, 2026. It is now read-only.

Commit 7ef66d8

Browse files
committed
Revert "feat: add optional image and code to display"
This reverts commit e010d2d.
1 parent 2dcabbf commit 7ef66d8

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

src/components/twitter/TwitterCard.tsx

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ interface TwitterCardProps {
1212
verified?: boolean;
1313
link?: string;
1414
title?: string;
15-
image?: string;
1615
}
1716

1817
export const TwitterCard: React.FC<TwitterCardProps> = ({
@@ -25,7 +24,6 @@ export const TwitterCard: React.FC<TwitterCardProps> = ({
2524
verified = false,
2625
link,
2726
title,
28-
image,
2927
}) => {
3028
const handleClick = () => {
3129
if (link) {
@@ -98,17 +96,6 @@ export const TwitterCard: React.FC<TwitterCardProps> = ({
9896
{/* Tweet Content */}
9997
<div className="text-white text-base leading-relaxed whitespace-pre-wrap flex-grow">
10098
{tweet}
101-
{image && (
102-
<div className="mt-4 rounded-sm overflow-hidden">
103-
<Image
104-
src={image}
105-
alt="Tweet image"
106-
width={600}
107-
height={400}
108-
className="w-full h-auto object-cover rounded-sm"
109-
/>
110-
</div>
111-
)}
11299
</div>
113100

114101
{/* Date and Time */}

0 commit comments

Comments
 (0)