diff --git a/app/components/HoverPreview.tsx b/app/components/HoverPreview.tsx index c4e69a640c..31a43166ee 100644 --- a/app/components/HoverPreview.tsx +++ b/app/components/HoverPreview.tsx @@ -215,9 +215,7 @@ function HoverPreviewInternal({ element, onClose }: Props) { - + {data.title} @@ -346,6 +344,7 @@ const Pointer = styled.div<{ offset: number }>` const Content = styled(Link)` cursor: var(--pointer); + ${(props) => (!props.to ? "pointer-events: none" : "")} `; const Heading = styled.h2` diff --git a/server/routes/api/urls/urls.ts b/server/routes/api/urls/urls.ts index 5c42c19c5b..a690603377 100644 --- a/server/routes/api/urls/urls.ts +++ b/server/routes/api/urls/urls.ts @@ -52,6 +52,7 @@ router.post( id: mentionedUser.id, lastActiveAt: mentionedUser.lastActiveAt, lastViewedAt: lastView ? lastView.updatedAt : undefined, + url: "", }, };