This commit is contained in:
Eric Bailey
2025-04-07 18:52:02 -05:00
parent e02e80c308
commit a9e7bbd834
@@ -33,10 +33,11 @@ export function StarterPackCard({
const {currentAccount} = useSession() const {currentAccount} = useSession()
const {gtPhone} = useBreakpoints() const {gtPhone} = useBreakpoints()
const link = useStarterPackLink({view}) const link = useStarterPackLink({view})
const record = view.record
if ( if (
!bsky.dangerousIsType<AppBskyGraphStarterpack.Record>( !bsky.dangerousIsType<AppBskyGraphStarterpack.Record>(
view.record, record,
AppBskyGraphStarterpack.isRecord, AppBskyGraphStarterpack.isRecord,
) )
) { ) {
@@ -90,7 +91,7 @@ export function StarterPackCard({
emoji emoji
style={[a.text_md, a.font_bold, a.leading_snug]} style={[a.text_md, a.font_bold, a.leading_snug]}
numberOfLines={1}> numberOfLines={1}>
{view.record.name} {record.name}
</Text> </Text>
<Text <Text
emoji emoji