rm useless function wrap
parent
08d12d9a3d
commit
49a392bfb3
|
@ -85,7 +85,6 @@ export const Login = ({onPressBack}: {onPressBack: () => void}) => {
|
||||||
}
|
}
|
||||||
}, [serviceError, serviceUrl, _])
|
}, [serviceError, serviceUrl, _])
|
||||||
|
|
||||||
const onPressRetryConnect = () => refetchService()
|
|
||||||
const onPressForgotPassword = () => {
|
const onPressForgotPassword = () => {
|
||||||
track('Signin:PressedForgotPassword')
|
track('Signin:PressedForgotPassword')
|
||||||
setCurrentForm(Forms.ForgotPassword)
|
setCurrentForm(Forms.ForgotPassword)
|
||||||
|
@ -109,7 +108,7 @@ export const Login = ({onPressBack}: {onPressBack: () => void}) => {
|
||||||
setServiceUrl={setServiceUrl}
|
setServiceUrl={setServiceUrl}
|
||||||
onPressBack={onPressBack}
|
onPressBack={onPressBack}
|
||||||
onPressForgotPassword={onPressForgotPassword}
|
onPressForgotPassword={onPressForgotPassword}
|
||||||
onPressRetryConnect={onPressRetryConnect}
|
onPressRetryConnect={refetchService}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in New Issue