From a836e81dc7942b648dd6186278ec9a3a31b4fdec Mon Sep 17 00:00:00 2001 From: Hailey Date: Wed, 12 Jun 2024 12:04:52 -0700 Subject: [PATCH] simplify --- src/screens/StarterPack/Landing/index.tsx | 29 +++++++++-------------- 1 file changed, 11 insertions(+), 18 deletions(-) diff --git a/src/screens/StarterPack/Landing/index.tsx b/src/screens/StarterPack/Landing/index.tsx index 4e1a7d36f6..55bd042134 100644 --- a/src/screens/StarterPack/Landing/index.tsx +++ b/src/screens/StarterPack/Landing/index.tsx @@ -214,32 +214,25 @@ function LandingScreenInner({ ) } -function User({displayName, avatar}: {displayName: string; avatar?: string}) { - const {isTabletOrDesktop} = useWebMediaQueries() - - return ( - - - - {displayName} - - - ) -} - function ProfilesSet({ profiles, }: { profiles: AppBskyActorDefs.ProfileViewBasic[] }) { + const {isTabletOrDesktop} = useWebMediaQueries() + return ( {profiles.map(profile => ( - + + + + {profile.displayName} + + ))} )