From f911100c441ce732788ee06f16a70f5af57b8872 Mon Sep 17 00:00:00 2001 From: Gerzon Z Date: Wed, 20 Oct 2021 18:28:09 -0400 Subject: [PATCH] Fix lint --- app/views/SendEmailConfirmationView.tsx | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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 ( - +