diff --git a/app/views/SendEmailConfirmationView.tsx b/app/views/SendEmailConfirmationView.tsx index 892673acc..d9ef854b6 100644 --- a/app/views/SendEmailConfirmationView.tsx +++ b/app/views/SendEmailConfirmationView.tsx @@ -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; - route: { - params: { - user?: string; - }; - }; + route: RouteProp; } const SendEmailConfirmationView = ({ navigation, route }: ISendEmailConfirmationView): JSX.Element => { @@ -64,7 +61,7 @@ const SendEmailConfirmationView = ({ navigation, route }: ISendEmailConfirmation }, []); return ( - +