| return ( | return ( | ||||
| <CheckboxButton | <CheckboxButton | ||||
| leftText={props.companies ? item.companyName : item.city} | leftText={props.companies ? item.companyName : item.city} | ||||
| // rightText={item.offerCount} | |||||
| rightText={props.companies && item.offerCount} | |||||
| value={item} | value={item} | ||||
| checked={ | checked={ | ||||
| props.filters.find((itemInList) => | props.filters.find((itemInList) => |