Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev Autor Línea Nro. Línea
4814 stevensc 1
import axios from 'axios'
4799 stevensc 2
import React from 'react'
3
 
4814 stevensc 4
const CompanySizesView = ({ urlAdd, urlTable, urlDashboard }) => {
5
 
6
    const getTable = () => {
7
        axios.get(urlTable)
8
    }
9
 
10
    const getDashboard = () => {
11
        axios.get(urlDashboard)
12
    }
13
 
14
    Promise.all([getTable, getDashboard])
15
        .then(resp => console.log(resp))
16
 
4799 stevensc 17
    return (
18
        <div>CompanySizes</div>
19
    )
20
}
21
 
22
export default CompanySizesView