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