This commit is contained in:
Hailey
2024-06-19 19:15:30 -07:00
parent 6fcab7cef2
commit 99cfe3b39b
2 changed files with 7 additions and 4 deletions
+2 -2
View File
@@ -16,11 +16,11 @@ import {Text} from '#/components/Typography'
export function Default({
profile: profileUnshadowed,
moderationOpts,
logContext,
logContext = 'ProfileCard',
}: {
profile: AppBskyActorDefs.ProfileViewDetailed
moderationOpts: ModerationOpts
logContext: 'ProfileCard' | 'StarterPackProfilesList'
logContext?: 'ProfileCard' | 'StarterPackProfilesList'
}) {
const t = useTheme()
const {hasSession} = useSession()
@@ -93,7 +93,7 @@ function LandingScreenLoaded({
starterPack,
setScreenState,
// TODO apply this to profile card
// eslint-disable-next-line @typescript-eslint/no-unused-vars
moderationOpts,
}: {
starterPack: AppBskyGraphDefs.StarterPackView
@@ -237,7 +237,10 @@ function LandingScreenLoaded({
a.border_t,
t.atoms.border_contrast_low,
]}>
<ProfileCard profile={item.subject} />
<ProfileCard
profile={item.subject}
moderationOpts={moderationOpts}
/>
</View>
))}
</View>