rm useless function wrap
parent
08d12d9a3d
commit
49a392bfb3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue