diff options
author | Eric Bailey <git@esb.lol> | 2025-04-07 20:29:04 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-07 18:29:04 -0700 |
commit | d496b5bdbff64b02baf00654c3a82bfe7153bf77 (patch) | |
tree | 4e63edfc917f36b6dd00419b7d1f743d04618030 /src/screens/Search/components/StarterPackCard.tsx | |
parent | 4879a07701784580e8f7f432b255a9ccbcd107a1 (diff) | |
download | voidsky-d496b5bdbff64b02baf00654c3a82bfe7153bf77.tar.zst |
Add in new suggested accounts endpoint into FollowDialog (#8147)
* Add in new suggested accounts endpoint into FollowDialog * Fix lint --------- Co-authored-by: Hailey <me@haileyok.com>
Diffstat (limited to 'src/screens/Search/components/StarterPackCard.tsx')
-rw-r--r-- | src/screens/Search/components/StarterPackCard.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/screens/Search/components/StarterPackCard.tsx b/src/screens/Search/components/StarterPackCard.tsx index fcb0ef068..233494b4e 100644 --- a/src/screens/Search/components/StarterPackCard.tsx +++ b/src/screens/Search/components/StarterPackCard.tsx @@ -33,10 +33,11 @@ export function StarterPackCard({ const {currentAccount} = useSession() const {gtPhone} = useBreakpoints() const link = useStarterPackLink({view}) + const record = view.record if ( !bsky.dangerousIsType<AppBskyGraphStarterpack.Record>( - view.record, + record, AppBskyGraphStarterpack.isRecord, ) ) { @@ -90,7 +91,7 @@ export function StarterPackCard({ emoji style={[a.text_md, a.font_bold, a.leading_snug]} numberOfLines={1}> - {view.record.name} + {record.name} </Text> <Text emoji |