From f85a30251626d615033298304a1fa4026fa277c3 Mon Sep 17 00:00:00 2001 From: mai Date: Sun, 3 Mar 2024 00:26:33 -0500 Subject: [PATCH] minor fixes --- frontend/sac-mobile/app/(auth)/register.tsx | 9 +-------- frontend/sac-mobile/components/dropdown.tsx | 2 +- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/frontend/sac-mobile/app/(auth)/register.tsx b/frontend/sac-mobile/app/(auth)/register.tsx index 9c3c60272..d1dc7d83d 100644 --- a/frontend/sac-mobile/app/(auth)/register.tsx +++ b/frontend/sac-mobile/app/(auth)/register.tsx @@ -76,15 +76,8 @@ const Register = () => { } }; - const validateName = (value: string) => { - if (value.length < 2) { - return 'First name should have more than 2 characters'; - } - return true; - }; - return ( - + { const styles = StyleSheet.create({ container: { backgroundColor: 'white', - height: 78, + height: props.height || 78, }, dropdown: { height: '85%',