diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-05-23 03:52:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-23 03:52:46 +0100 |
commit | 334483ad9a77ae7a83873264565f9a85241bd50a (patch) | |
tree | 2cfb2609ea3e2d2b0f2d5ded406ed78c9cddc334 /bskyembed/src/screens/post.tsx | |
parent | 69f468485928f7c325eef8854caa177d72da2f0c (diff) | |
download | voidsky-334483ad9a77ae7a83873264565f9a85241bd50a.tar.zst |
[Embeds] stop adding tracking params to non-bsky.app links (#4167)
* don't add tracking params on non-bsky.app links * validate facets
Diffstat (limited to 'bskyembed/src/screens/post.tsx')
-rw-r--r-- | bskyembed/src/screens/post.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bskyembed/src/screens/post.tsx b/bskyembed/src/screens/post.tsx index 365227cd4..337bf0100 100644 --- a/bskyembed/src/screens/post.tsx +++ b/bskyembed/src/screens/post.tsx @@ -52,7 +52,7 @@ function PwiOptOut({thread}: {thread: AppBskyFeedDefs.ThreadViewPost}) { <Link href={href} className="transition-transform hover:scale-110 absolute top-4 right-4"> - <img src={logo as string} className="h-6" /> + <img src={logo} className="h-6" /> </Link> <div className="w-full py-12 gap-4 flex flex-col items-center"> <p className="max-w-80 text-center w-full text-textLight"> @@ -75,7 +75,7 @@ function ErrorMessage() { <Link href="https://bsky.app/" className="transition-transform hover:scale-110 absolute top-4 right-4"> - <img src={logo as string} className="h-6" /> + <img src={logo} className="h-6" /> </Link> <p className="my-16 text-center w-full text-textLight"> Post not found, it may have been deleted. |