From 4de8e8fa14774e753dea94a8fc01a5847c5dfcd2 Mon Sep 17 00:00:00 2001 From: Hailey Date: Tue, 19 Mar 2024 07:56:28 -0700 Subject: [PATCH] fix borders for labels tab (#3261) * fix borders for labels tab * rm entire wrapping view --- src/screens/Profile/Sections/Labels.tsx | 60 +++++++++---------------- 1 file changed, 21 insertions(+), 39 deletions(-) diff --git a/src/screens/Profile/Sections/Labels.tsx b/src/screens/Profile/Sections/Labels.tsx index 07beb952..08db4a86 100644 --- a/src/screens/Profile/Sections/Labels.tsx +++ b/src/screens/Profile/Sections/Labels.tsx @@ -48,7 +48,6 @@ export const ProfileLabelsSection = React.forwardRef< }, ref, ) { - const t = useTheme() const {_} = useLingui() const {height: minHeight} = useSafeAreaFrame() @@ -66,37 +65,26 @@ export const ProfileLabelsSection = React.forwardRef< })) return ( - - - {isLabelerLoading ? ( - - - - ) : labelerError || !labelerInfo ? ( - - ) : ( - - )} - + + {isLabelerLoading ? ( + + + + ) : labelerError || !labelerInfo ? ( + + ) : ( + + )} ) }) @@ -149,13 +137,7 @@ export function ProfileLabelsSectionInner({ }} contentOffset={{x: 0, y: headerHeight * -1}} onScroll={scrollHandler}> - +