debug notification

This commit is contained in:
2023-07-16 11:43:47 +03:30
parent 3b170615e0
commit e440ca83e1
7 changed files with 7 additions and 7 deletions

View File

@@ -49,7 +49,7 @@ const SendToken = ({ PhoneNumber }) => {
setToken(response.data.token);
})
.catch(function (error) {
Notifications(directionApp, error.response, t);
Notifications(directionApp, t, error.response);
props.setSubmitting(false);
});
};

View File

@@ -50,7 +50,7 @@ const SendUserData = ({ setOtpToken, setPhoneNumber }) => {
setOtpToken(true);
})
.catch(function (error) {
Notifications(directionApp, error.response, t);
Notifications(directionApp, t, error.response);
props.setSubmitting(false);
});
};

View File

@@ -49,7 +49,7 @@ const SendToken = ({ PhoneNumber }) => {
setToken(response.data.token);
})
.catch(function (error) {
Notifications(directionApp, error.response, t);
Notifications(directionApp, t, error.response);
props.setSubmitting(false);
});
};

View File

@@ -51,7 +51,7 @@ const SendToken = ({ PhoneNumber, nationalId, navganId, typeId }) => {
setToken(response.data.token);
})
.catch(function (error) {
Notifications(directionApp, error.response, t);
Notifications(directionApp, t, error.response);
props.setSubmitting(false);
});
};

View File

@@ -66,7 +66,7 @@ const SendUserData = ({
setOtpToken(true)
})
.catch(function (error) {
Notifications(directionApp, error.response, t);
Notifications(directionApp, t, error.response);
props.setSubmitting(false);
});
};

View File

@@ -64,7 +64,7 @@ const SendUserData = ({
setOtpToken(true);
})
.catch(function (error) {
Notifications(directionApp, error.response, t);
Notifications(directionApp, t, error.response);
props.setSubmitting(false);
});
};

View File

@@ -52,7 +52,7 @@ const SendToken = ({ PhoneNumber, nationalId, typeId }) => {
setToken(response.data.token);
})
.catch(function (error) {
Notifications(directionApp, error.response, t);
Notifications(directionApp, t, error.response);
props.setSubmitting(false);
});
};