Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 4810 | Rev 4827 | Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |

import axios from 'axios'
import React from 'react'

const CompanySizesView = ({ urlAdd, urlTable, urlDashboard }) => {

    const getTable = () => {
        axios.get(urlTable)
    }

    const getDashboard = () => {
        axios.get(urlDashboard)
    }

    Promise.all([getTable, getDashboard])
        .then(resp => console.log(resp))

    return (
        <div>CompanySizes</div>
    )
}

export default CompanySizesView