handle save some data and send server correct & change component form & clean code & fix bugs

This commit is contained in:
Ehsan
2025-07-18 13:54:48 +03:30
parent 278602372d
commit 901bca6529
9 changed files with 235 additions and 108 deletions
+3 -8
View File
@@ -16,17 +16,12 @@ function SendAppo({ hour }) {
doctor_id: doctorId,
slot: hour,
})
.then((res) => {
.then(() => {
setLoading(false);
})
.catch((err) => {
console.log(err);
.catch(() => {
//
});
// if (locateVisit) {
// setStep((prev) => prev + 1);
// } else {
// setIsError(true);
// }
};
return (