Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
in-mai-space committed Mar 3, 2024
1 parent 91a60c9 commit f85a302
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
9 changes: 1 addition & 8 deletions frontend/sac-mobile/app/(auth)/register.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<ScrollView className="scroll-smooth">
<ScrollView>
<SafeAreaView
edges={['top']}
className="bg-neutral-500"
Expand Down
2 changes: 1 addition & 1 deletion frontend/sac-mobile/components/dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const DropdownComponent = (props: ListOfItem) => {
const styles = StyleSheet.create({
container: {
backgroundColor: 'white',
height: 78,
height: props.height || 78,
},
dropdown: {
height: '85%',
Expand Down

0 comments on commit f85a302

Please sign in to comment.