From a9e7bbd8341ca0f4b9863296714442ed265e4bfe Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Mon, 7 Apr 2025 18:52:02 -0500 Subject: [PATCH] Fix lint --- src/screens/Search/components/StarterPackCard.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/screens/Search/components/StarterPackCard.tsx b/src/screens/Search/components/StarterPackCard.tsx index fcb0ef0680..233494b4ed 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( - 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}