fix: open link on clicking preview card
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user