Browse Source

Adding loading message in password confirmation change password

master
GabrielTrettel 3 years ago
parent
commit
54ffddfa7d
  1. 4
      src/app/screens/PasswordRecoveryScreen.js

4
src/app/screens/PasswordRecoveryScreen.js

@ -72,6 +72,10 @@ export default function PasswordRecovery({ navigation }) {
});
const handleSubmit = async (number, answer, secQuestion) => {
setConfirmatioModalData({
message: "Validando informações",
show: true,
});
const apiResponse = await loginByUsernamAnswers(number, secQuestion, answer);
switch (apiResponse.status) {

Loading…
Cancel
Save