From 99cfe3b39bcda2185cd8e850d59eeb979b41fdd7 Mon Sep 17 00:00:00 2001 From: Hailey Date: Wed, 19 Jun 2024 19:15:30 -0700 Subject: [PATCH] lint --- src/components/ProfileCard.tsx | 4 ++-- src/screens/StarterPack/StarterPackLandingScreen.tsx | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/components/ProfileCard.tsx b/src/components/ProfileCard.tsx index a8f00fca0d..883ed91c7f 100644 --- a/src/components/ProfileCard.tsx +++ b/src/components/ProfileCard.tsx @@ -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() diff --git a/src/screens/StarterPack/StarterPackLandingScreen.tsx b/src/screens/StarterPack/StarterPackLandingScreen.tsx index f8cb2616f1..85f6b2d410 100644 --- a/src/screens/StarterPack/StarterPackLandingScreen.tsx +++ b/src/screens/StarterPack/StarterPackLandingScreen.tsx @@ -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, ]}> - + ))}