about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/screens/Login/index.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/screens/Login/index.tsx b/src/screens/Login/index.tsx
index da392569a..8dee06185 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