lint
This commit is contained in:
@@ -16,11 +16,11 @@ import {Text} from '#/components/Typography'
|
|||||||
export function Default({
|
export function Default({
|
||||||
profile: profileUnshadowed,
|
profile: profileUnshadowed,
|
||||||
moderationOpts,
|
moderationOpts,
|
||||||
logContext,
|
logContext = 'ProfileCard',
|
||||||
}: {
|
}: {
|
||||||
profile: AppBskyActorDefs.ProfileViewDetailed
|
profile: AppBskyActorDefs.ProfileViewDetailed
|
||||||
moderationOpts: ModerationOpts
|
moderationOpts: ModerationOpts
|
||||||
logContext: 'ProfileCard' | 'StarterPackProfilesList'
|
logContext?: 'ProfileCard' | 'StarterPackProfilesList'
|
||||||
}) {
|
}) {
|
||||||
const t = useTheme()
|
const t = useTheme()
|
||||||
const {hasSession} = useSession()
|
const {hasSession} = useSession()
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ function LandingScreenLoaded({
|
|||||||
starterPack,
|
starterPack,
|
||||||
setScreenState,
|
setScreenState,
|
||||||
// TODO apply this to profile card
|
// TODO apply this to profile card
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
||||||
moderationOpts,
|
moderationOpts,
|
||||||
}: {
|
}: {
|
||||||
starterPack: AppBskyGraphDefs.StarterPackView
|
starterPack: AppBskyGraphDefs.StarterPackView
|
||||||
@@ -237,7 +237,10 @@ function LandingScreenLoaded({
|
|||||||
a.border_t,
|
a.border_t,
|
||||||
t.atoms.border_contrast_low,
|
t.atoms.border_contrast_low,
|
||||||
]}>
|
]}>
|
||||||
<ProfileCard profile={item.subject} />
|
<ProfileCard
|
||||||
|
profile={item.subject}
|
||||||
|
moderationOpts={moderationOpts}
|
||||||
|
/>
|
||||||
</View>
|
</View>
|
||||||
))}
|
))}
|
||||||
</View>
|
</View>
|
||||||
|
|||||||
Reference in New Issue
Block a user