This commit is contained in:
Kakabay 2024-03-25 15:09:32 +05:00
parent a3e1ee4d58
commit 558fe5094e
1 changed files with 0 additions and 46 deletions

View File

@ -70,56 +70,10 @@ const ImmediateCreditModal = ({
}
};
// const fetchData = async () => {
// try {
// const { data } = await axios.post(
// // 'http://217.174.226.219:443/onlineloan-services/api/clientinfo',
// 'https://shahsyotag.halkbank.gov.tm/onlineloan-services/api/clientinfo',
// {
// idSeria: 'I-AH',
// idNo: '600898',
// accountNo: '123456',
// clientType: 'recipient',
// },
// {
// headers: {
// 'Content-Type': 'application/json',
// },
// },
// );
// setData(data);
// } catch (error) {
// console.log(error);
// } finally {
// console.log(data);
// }
// };
useEffect(() => {
fetchData();
}, [stage]);
// axios
// .post('https://shahsyotag.halkbank.gov.tm/onlineloan-services/api/clientinfo', {
// method: 'POST',
// headers: {
// 'Content-Type': 'application/json',
// },
// body: JSON.stringify({
// idSeria: 'I-AŞ',
// idNo: '600898',
// accountNo: '23908934160170083398000',
// clientType: 'recipient',
// }),
// })
// .then(function (response) {
// console.log(response);
// })
// .catch(function (error) {
// console.log(error);
// });
return (
<section className={modalOpen ? 'modal credit-modal active' : 'modal credit-modal'}>
<div className="modal-container">