rename navgan and refahi

This commit is contained in:
2025-03-12 08:26:11 +00:00
committed by AmirHossein Mahmoodi
parent 969d9f8dc3
commit cdd7bb4dee
7 changed files with 25 additions and 62 deletions

View File

@@ -121,10 +121,10 @@ const BuildRequestDetail = ({ state, handleBack, setFinishRefahiLoanRequest, dis
notification: true,
data: formData,
});
// setFinishRefahiLoanRequest(true);
router.replace("/dashboard/followUp-loan");
// router.replace("/dashboard/followUp-loan");
getUser((data) => {
changeUser(data);
setFinishRefahiLoanRequest(true);
});
} catch (error) {
console.error("Error submitting request:", error);

View File

@@ -117,10 +117,10 @@ const RestoreRequestDetail = ({ state, handleBack, dispatch, setFinishRefahiLoan
notification: true,
data: formData,
});
// setFinishRefahiLoanRequest(true);
router.replace("/dashboard/followUp-loan");
// router.replace("/dashboard/followUp-loan");
getUser((data) => {
changeUser(data);
setFinishRefahiLoanRequest(true);
});
} catch (error) {
console.error("Error submitting request:", error);