Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 9502 Rev 9506
Línea 7... Línea 7...
7
  { key: "maximum_no_of_employee", label: "Máximo", isSorteable: true },
7
  { key: "maximum_no_of_employee", label: "Máximo", isSorteable: true },
8
  { key: "status", label: "Activo", isSorteable: false },
8
  { key: "status", label: "Activo", isSorteable: false },
9
  { key: "actions", label: "Acciones", isSorteable: false }
9
  { key: "actions", label: "Acciones", isSorteable: false }
10
]
10
]
Línea 11... Línea 11...
11
 
11
 
Línea -... Línea 12...
-
 
12
const MainView = (props) => {
12
const MainView = ({ backendVars }) => {
13
 
13
 
14
  console.log(props)
Línea 14... Línea 15...
14
  const { table_link } = backendVars
15
  /* const { table_link } = backendVars
Línea 15... Línea 16...
15
  const [data, setData] = useState({})
16
  const [data, setData] = useState({})
Línea 27... Línea 28...
27
      .catch((err) => console.log(err))
28
      .catch((err) => console.log(err))
28
  }
29
  }
Línea 29... Línea 30...
29
 
30
 
30
  useEffect(() => {
31
  useEffect(() => {
31
    getData(table_link)
32
    getData(table_link)
Línea 32... Línea 33...
32
  }, [])
33
  }, []) */
33
 
34
 
34
  return (
35
  return (
35
    <h1>Hello</h1>
36
    <h1>Hello</h1>