about summary refs log tree commit diff
path: root/bskyembed/src/screens/post.tsx
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2024-05-23 03:52:46 +0100
committerGitHub <noreply@github.com>2024-05-23 03:52:46 +0100
commit334483ad9a77ae7a83873264565f9a85241bd50a (patch)
tree2cfb2609ea3e2d2b0f2d5ded406ed78c9cddc334 /bskyembed/src/screens/post.tsx
parent69f468485928f7c325eef8854caa177d72da2f0c (diff)
downloadvoidsky-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.tsx4
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.