Fix starter pack navigation from search and explore (#11563)

This commit is contained in:
Samuel Newman
2026-08-26 20:13:51 +03:00
committed by GitHub
parent ed4126f5a2
commit a0ed2da006
3 changed files with 59 additions and 10 deletions
@@ -147,10 +147,7 @@ export function StarterPackScreenInner({
const isValid =
starterPack &&
(starterPack.list || starterPack?.creator?.did === currentAccount?.did) &&
// Cards may precache a synthetic full view while navigating. Its list CID
// is intentionally empty until the server response replaces it, so use
// the trusted app-view discriminator here instead of strict validation.
bsky.isType(app.bsky.graph.defs.starterPackView, starterPack) &&
bsky.starterPack.isTrustedView(starterPack) &&
bsky.matches(app.bsky.graph.starterpack, starterPack.record)
if (!did || !starterPack || !isValid || !moderationOpts) {