diff --git a/src/components/immediateCredits/ImmediateCreditModal.js b/src/components/immediateCredits/ImmediateCreditModal.js index a066d09..b0d2317 100644 --- a/src/components/immediateCredits/ImmediateCreditModal.js +++ b/src/components/immediateCredits/ImmediateCreditModal.js @@ -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 (