import React, { useEffect, useState } from 'react'; import ReactDOM from 'react-dom'; import axios from 'axios'; import Notification from '../../component/notification'; const ProfileWithdrawal = () => { const handleSubmit = (e) => { e.preventDefault(); // axios.delete('/api/children/delete/1') // .then(response => { // if(response.data.status_code==200){ // } // else if(response.data.status_code==400){ // } // }) // .catch(err=>console.log(err)) } return (