const [formSearch, setFormSearch] = useState({
page: 0,
name: '',
sort: 'customName,asc',
list: []
})
formSearch
&&
formSearch.list.length > 0
&&
formSearch.list.map( (elem, index) => {
return(
<div key={'person-list-'+index}>
<PersonChoosePanel data={elem} isChoosen={ choosenIds.indexOf(elem.id!)!==(-1)}/>
</div>
)
})