From 558fe5094eb22bd0145c19470c31b1f2f82c6165 Mon Sep 17 00:00:00 2001 From: Kakabay <2kakabayashyrberdyew@gmail.com> Date: Mon, 25 Mar 2024 15:09:32 +0500 Subject: [PATCH] commit --- .../immediateCredits/ImmediateCreditModal.js | 46 ------------------- 1 file changed, 46 deletions(-) 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 (