fix: open link on clicking preview card

This commit is contained in:
talksik
2026-03-21 12:48:45 -07:00
parent d6b7ecc8fd
commit 8ee8aba5a2
+4 -1
View File
@@ -23,7 +23,10 @@ export function LinkPreviewCard({ metadata, compact }: LinkPreviewCardProps) {
return (
<div
className="max-w-sm overflow-hidden rounded-2xl bg-white/10 backdrop-blur-md"
onClick={(e) => e.stopPropagation()}
onClick={(e) => {
e.stopPropagation();
handleOpen(e);
}}
>
{metadata.image && (
<img