This commit is contained in:
Gerzon Z 2021-10-20 18:28:09 -04:00
parent 5dc0a0a05f
commit f911100c44
1 changed files with 3 additions and 6 deletions

View File

@ -1,5 +1,6 @@
import React, { useEffect, useState } from 'react'; import React, { useEffect, useState } from 'react';
import { StackNavigationProp } from '@react-navigation/stack'; import { StackNavigationProp } from '@react-navigation/stack';
import { RouteProp } from '@react-navigation/core';
import TextInput from '../containers/TextInput'; import TextInput from '../containers/TextInput';
import Button from '../containers/Button'; import Button from '../containers/Button';
@ -14,11 +15,7 @@ import sharedStyles from './Styles';
interface ISendEmailConfirmationView { interface ISendEmailConfirmationView {
navigation: StackNavigationProp<any, 'SendEmailConfirmationView'>; navigation: StackNavigationProp<any, 'SendEmailConfirmationView'>;
route: { route: RouteProp<any, 'SendEmailConfirmationView'>;
params: {
user?: string;
};
};
} }
const SendEmailConfirmationView = ({ navigation, route }: ISendEmailConfirmationView): JSX.Element => { const SendEmailConfirmationView = ({ navigation, route }: ISendEmailConfirmationView): JSX.Element => {
@ -64,7 +61,7 @@ const SendEmailConfirmationView = ({ navigation, route }: ISendEmailConfirmation
}, []); }, []);
return ( return (
<FormContainer theme={theme} testID='send-email-confirmation-view'> <FormContainer theme={theme!} testID='send-email-confirmation-view'>
<FormContainerInner> <FormContainerInner>
<TextInput <TextInput
autoFocus autoFocus