Fix lint
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user