When I did a console.log(response.data), it returned 2 datasets namely post and user:
const [dbdata,setDBData] = useState([]) useEffect(async() => {