From 49a392bfb34b91ba971f32cb25e41b0491c45fc2 Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Tue, 19 Mar 2024 15:29:25 +0000 Subject: [PATCH] rm useless function wrap --- src/screens/Login/index.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/screens/Login/index.tsx b/src/screens/Login/index.tsx index da392569..8dee0618 100644 --- a/src/screens/Login/index.tsx +++ b/src/screens/Login/index.tsx @@ -85,7 +85,6 @@ export const Login = ({onPressBack}: {onPressBack: () => void}) => { } }, [serviceError, serviceUrl, _]) - const onPressRetryConnect = () => refetchService() const onPressForgotPassword = () => { track('Signin:PressedForgotPassword') setCurrentForm(Forms.ForgotPassword) @@ -109,7 +108,7 @@ export const Login = ({onPressBack}: {onPressBack: () => void}) => { setServiceUrl={setServiceUrl} onPressBack={onPressBack} onPressForgotPassword={onPressForgotPassword} - onPressRetryConnect={onPressRetryConnect} + onPressRetryConnect={refetchService} /> ) break