Исправлено отображение лого в таблице участники

This commit is contained in:
ts_salikhov 2022-08-12 16:27:18 +04:00
parent 983155e0fa
commit a5e94816e5

View File

@ -12,7 +12,7 @@ const columns = [
const CompaniesTable = memo(({companies}) => {
const dataCompanies = useMemo(() => companies?.map((company) => ({
key: company.id,
logo: companies?.logo ? <img src={companies.logo}/> : <BankOutlined/>,
logo: company?.logo ? <img src={company.logo}/> : <BankOutlined/>,
caption: company.caption,
companyTypeCaption: company.companyTypeCaption,
})), [companies])