From f36c9565362b741c58672204fe0c155252affe28 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Tue, 24 Jan 2023 13:00:11 -0600 Subject: Resolve all remaining lint issues (#88) * Rework 'navIdx' variables from number arrays to strings to avoid equality-check failures in react hooks * Resolve all remaining lint issues * Fix tests * Use node v18 in gh action test --- src/view/com/profile/ProfileHeader.tsx | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) (limited to 'src/view/com/profile/ProfileHeader.tsx') diff --git a/src/view/com/profile/ProfileHeader.tsx b/src/view/com/profile/ProfileHeader.tsx index c14a5c827..2f98fce2d 100644 --- a/src/view/com/profile/ProfileHeader.tsx +++ b/src/view/com/profile/ProfileHeader.tsx @@ -100,22 +100,14 @@ export const ProfileHeader = observer(function ProfileHeader({ - + - + - + {view.displayName || view.handle} @@ -208,7 +200,7 @@ export const ProfileHeader = observer(function ProfileHeader({ ) : undefined} - + {view.displayName || view.handle} @@ -349,6 +341,7 @@ const styles = StyleSheet.create({ // paddingLeft: 86, // marginBottom: 14, }, + title: {lineHeight: 38}, handleLine: { flexDirection: 'row', @@ -369,4 +362,7 @@ const styles = StyleSheet.create({ alignItems: 'center', marginBottom: 5, }, + + br40: {borderRadius: 40}, + br50: {borderRadius: 50}, }) -- cgit 1.4.1