about summary refs log tree commit diff
path: root/src/screens
diff options
context:
space:
mode:
Diffstat (limited to 'src/screens')
-rw-r--r--src/screens/Search/components/StarterPackCard.tsx5
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