debug notification
This commit is contained in:
@@ -49,7 +49,7 @@ const SendToken = ({ PhoneNumber }) => {
|
|||||||
setToken(response.data.token);
|
setToken(response.data.token);
|
||||||
})
|
})
|
||||||
.catch(function (error) {
|
.catch(function (error) {
|
||||||
Notifications(directionApp, error.response, t);
|
Notifications(directionApp, t, error.response);
|
||||||
props.setSubmitting(false);
|
props.setSubmitting(false);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ const SendUserData = ({ setOtpToken, setPhoneNumber }) => {
|
|||||||
setOtpToken(true);
|
setOtpToken(true);
|
||||||
})
|
})
|
||||||
.catch(function (error) {
|
.catch(function (error) {
|
||||||
Notifications(directionApp, error.response, t);
|
Notifications(directionApp, t, error.response);
|
||||||
props.setSubmitting(false);
|
props.setSubmitting(false);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ const SendToken = ({ PhoneNumber }) => {
|
|||||||
setToken(response.data.token);
|
setToken(response.data.token);
|
||||||
})
|
})
|
||||||
.catch(function (error) {
|
.catch(function (error) {
|
||||||
Notifications(directionApp, error.response, t);
|
Notifications(directionApp, t, error.response);
|
||||||
props.setSubmitting(false);
|
props.setSubmitting(false);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ const SendToken = ({ PhoneNumber, nationalId, navganId, typeId }) => {
|
|||||||
setToken(response.data.token);
|
setToken(response.data.token);
|
||||||
})
|
})
|
||||||
.catch(function (error) {
|
.catch(function (error) {
|
||||||
Notifications(directionApp, error.response, t);
|
Notifications(directionApp, t, error.response);
|
||||||
props.setSubmitting(false);
|
props.setSubmitting(false);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ const SendUserData = ({
|
|||||||
setOtpToken(true)
|
setOtpToken(true)
|
||||||
})
|
})
|
||||||
.catch(function (error) {
|
.catch(function (error) {
|
||||||
Notifications(directionApp, error.response, t);
|
Notifications(directionApp, t, error.response);
|
||||||
props.setSubmitting(false);
|
props.setSubmitting(false);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ const SendUserData = ({
|
|||||||
setOtpToken(true);
|
setOtpToken(true);
|
||||||
})
|
})
|
||||||
.catch(function (error) {
|
.catch(function (error) {
|
||||||
Notifications(directionApp, error.response, t);
|
Notifications(directionApp, t, error.response);
|
||||||
props.setSubmitting(false);
|
props.setSubmitting(false);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ const SendToken = ({ PhoneNumber, nationalId, typeId }) => {
|
|||||||
setToken(response.data.token);
|
setToken(response.data.token);
|
||||||
})
|
})
|
||||||
.catch(function (error) {
|
.catch(function (error) {
|
||||||
Notifications(directionApp, error.response, t);
|
Notifications(directionApp, t, error.response);
|
||||||
props.setSubmitting(false);
|
props.setSubmitting(false);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user