import React, { useEffect, useState } from 'react'; import ReactDOM from 'react-dom'; import axios from 'axios'; import Notification from '../../component/notification'; const parent_list = [ { company: '株式会社ZOTMAN', image:'/assets/img/avatar/avatar-sample03@2x.png', }, { company: '株式会社ZOTMAN', image:'/assets/img/avatar/avatar-sample03@2x.png', }, { company: '株式会社ZOTMAN', image:'/assets/img/avatar/avatar-sample03@2x.png', }, { company: '株式会社ZOTMAN', image:'/assets/img/avatar/avatar-sample03@2x.png', }, { company: '株式会社ZOTMAN', image:'/assets/img/avatar/avatar-sample03@2x.png', }, { company: '株式会社ZOTMAN', image:'/assets/img/avatar/avatar-sample03@2x.png', }, { company: '株式会社ZOTMAN', image:'/assets/img/avatar/avatar-sample03@2x.png', }, { company: '株式会社ZOTMAN', image:'/assets/img/avatar/avatar-sample03@2x.png', } ] const Parent = () => { const [tab_status, setTabStatus] = useState(false); // const [meeting_list, setMettingList] = useState([]); const clickTab01 = () => { setTabStatus(false); } const clickTab02 = () => { setTabStatus(true); } useEffect( () => { const formdata = new FormData(); let child_id = 1; // axios.get('/api/fathers/listOfChild/') // .then(response => { // if(response.data.status_code==200){ // // window.location.href = '/register/c-account/complete'; // console.log(response.data) // } // else if(response.data.status_code==400){ // // window.location.href = '/register/c-account/error'; // } // else if(response.data.status_code==500){ // // window.location.href = '/unknown-error'; // } // }) // .catch(err=>console.log(err)) },[] ); return ( <>

親一覧

{ parent_list.map((item, id)=>
name

{item.company}

) }
) } export default Parent;