diff --git a/.eslintrc.js b/.eslintrc.js index 2d5f2822ac..f6407fa6fa 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -33,6 +33,7 @@ module.exports = { ], 'bsky-internal/use-exact-imports': 'error', 'bsky-internal/use-typed-gates': 'error', + 'bsky-internal/use-prefixed-imports': 'warn', 'simple-import-sort/imports': [ 'warn', { diff --git a/bskyembed/src/components/embed.tsx b/bskyembed/src/components/embed.tsx index 1ed107b592..82c3fd60a0 100644 --- a/bskyembed/src/components/embed.tsx +++ b/bskyembed/src/components/embed.tsx @@ -158,6 +158,12 @@ export function Embed({ return The quoted post is blocked. } + // Case 3.8: Detached quote post + if (AppBskyEmbedRecord.isViewDetached(record)) { + // Just don't show anything + return null + } + // Unknown embed type return null } diff --git a/bskyweb/templates/base.html b/bskyweb/templates/base.html index b0c3c2195e..609c17c7ce 100644 --- a/bskyweb/templates/base.html +++ b/bskyweb/templates/base.html @@ -15,16 +15,22 @@ + + +