Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 487 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 487 Rev 493
Línea 10... Línea 10...
10
import { useDispatch } from 'react-redux'
10
import { useDispatch } from 'react-redux'
11
import useFetchHelper from '../../hooks/useFetchHelper'
11
import useFetchHelper from '../../hooks/useFetchHelper'
Línea 12... Línea 12...
12
 
12
 
13
const AddGroupModal = ({ show, onHide, fetchGroups }) => {
13
const AddGroupModal = ({ show, onHide, fetchGroups }) => {
14
  const [loading, setLoading] = useState(false)
14
  const [loading, setLoading] = useState(false)
-
 
15
  const { data: groupTypesData } = useFetchHelper('group-types')
15
  const { data } = useFetchHelper('group-types')
16
  const { data: industriesData } = useFetchHelper('industries')
16
  const [groupTypes, setGroupTypes] = useState([])
17
  const [groupTypes, setGroupTypes] = useState([])
17
  const [industries, setIndustries] = useState([])
18
  const [industries, setIndustries] = useState([])
Línea 18... Línea 19...
18
  const dispatch = useDispatch()
19
  const dispatch = useDispatch()