From bf00d498638c881ae2738b255f018686ee374ce7 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Fri, 21 Jul 2023 17:17:35 -0500 Subject: #995 use `asAnchor` on external embeds (#1043) * use asAnchor on external embeds * add noFeedback back, fix TouchableWithoutFeedback anchor handling --- src/view/com/util/Link.tsx | 5 ++--- src/view/com/util/post-embeds/index.tsx | 5 +++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/view/com/util/Link.tsx b/src/view/com/util/Link.tsx index 454fd7c21..e428960fe 100644 --- a/src/view/com/util/Link.tsx +++ b/src/view/com/util/Link.tsx @@ -89,12 +89,11 @@ export const Link = observer(function Link({ - + {/* @ts-ignore web only -prf */} + {children ? children : {title || 'link'}} diff --git a/src/view/com/util/post-embeds/index.tsx b/src/view/com/util/post-embeds/index.tsx index 372b36359..7ffebff54 100644 --- a/src/view/com/util/post-embeds/index.tsx +++ b/src/view/com/util/post-embeds/index.tsx @@ -181,9 +181,10 @@ export function PostEmbeds({ return ( + href={link.uri}> ) -- cgit 1.4.1