Skip to content

Commit

Permalink
Finish review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
adityapawar1 committed Nov 22, 2023
1 parent 054202e commit 76b9fc1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/app/auth/signup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function SignUpScreen() {
const setAndCheckEmail = async (newEmail: string) => {
setEmail(newEmail);
if (!validator.isEmail(email)) {
setEmailError('Please enter a valid email');
setEmailError('This email is not a valid email. Please try again.');
return;
}

Expand Down Expand Up @@ -174,6 +174,7 @@ const styles = StyleSheet.create({
},
error: {
color: 'red',
marginTop: 8,
},
link: {
fontWeight: '700',
Expand Down
3 changes: 1 addition & 2 deletions src/components/UserStringInput/UserStringInput.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { ReactNode } from 'react';
import { View, Text, TextInput } from 'react-native';

import globalStyles from '../../styles/globalStyles';
import styles from './styles';

type UserStringInputProps = {
Expand All @@ -19,7 +18,7 @@ export default function UserStringInput({
attributes = {},
label,
children,
onChange = text => {},
onChange = _ => {},
}: UserStringInputProps) {
return (
<View style={styles.mt16}>
Expand Down

0 comments on commit 76b9fc1

Please sign in to comment.