Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 4810 | Rev 4827 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

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