removed console and unnecessary hook
This commit is contained in:
parent
409c80471a
commit
2d57ab23da
@ -36,9 +36,8 @@ const ForgotPasswordPage = () => {
|
|||||||
const response = await AuthRepository.forgotPassword(data)
|
const response = await AuthRepository.forgotPassword(data)
|
||||||
if ( response.data && response.success )
|
if ( response.data && response.success )
|
||||||
showToast( response.message, "success" )
|
showToast( response.message, "success" )
|
||||||
|
reset()
|
||||||
setLoading( false )
|
setLoading( false )
|
||||||
setEmail( "" )
|
|
||||||
console.log(response)
|
|
||||||
} catch ( err )
|
} catch ( err )
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user