Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 6753 Rev 6861
Línea 13... Línea 13...
13
import AddCompanyModal from '../../components/modals/AddCompanyModal'
13
import AddCompanyModal from '../../components/modals/AddCompanyModal'
Línea 14... Línea 14...
14
 
14
 
15
const MyCompanies = () => {
15
const MyCompanies = () => {
16
  const [companies, setCompanies] = useState([])
16
  const [companies, setCompanies] = useState([])
17
  const [loading, setLoading] = useState(true)
-
 
18
  const [showAddCompanyModal, setShowCompanyModal] = useState(false)
17
  const [loading, setLoading] = useState(true)
19
  const [search, setSearch] = useState('')
-
 
-
 
18
  const [search, setSearch] = useState('')
20
 
19
  const [showAddCompanyModal, setShowCompanyModal] = useState(false)
21
  const labels = useSelector(({ intl }) => intl.labels)
20
  const labels = useSelector(({ intl }) => intl.labels)
Línea 22... Línea 21...
22
  const dispatch = useDispatch()
21
  const dispatch = useDispatch()
23
 
22
 
Línea 78... Línea 77...
78
      )}
77
      )}
79
      <AddCompanyModal
78
      <AddCompanyModal
80
        show={showAddCompanyModal}
79
        show={showAddCompanyModal}
81
        onHide={toggleShowCompanyModal}
80
        onHide={toggleShowCompanyModal}
82
        fetchCompanies={getMyCompanies}
81
        fetchCompanies={getMyCompanies}
83
        companySizes={{}}
-
 
84
        industries={{}}
-
 
85
      />
82
      />
86
    </main>
83
    </main>
87
  )
84
  )
88
}
85
}