t
Size: a a a
t
t
let tempProducts = [...this.state.products]
const index = tempProducts.indexOf(this.getItem(id))
const product = tempProducts[index]getItem ведëтся поиск по products.p
p
t
CM
В
t
CM
В
t
t
CM
t
product.total = product.count * product.price product.total -= product.pricet
<div style={{ marginTop: '100px', textAlign: 'center', textTransform: 'capitalize', fontSize: '16px' }}>
<h1>{name} {title}</h1>
</div>t
p