D
D
Danila2021-12-29 14:10:04
JavaScript
Danila, 2021-12-29 14:10:04

Why is it not displaying elements on the page?

I'm trying to display information from an object, but it doesn't output anything.

{Object.values(getMamonts['mamonts']).forEach(key => {
  return (<RichCell before={<Avatar size={48} src="https://sun9-37.userapi.com/impg/c3RJs4t9Q4AB0oiDl-rnW6sobst0D4tu__Y1fQ/JP4A5n3vwlY.jpg?size=757x963&quality=96&sign=45b7fccf120a6573804ceb38bf6c2f9d&type=album" />} caption="Вчера в 20:30" after="- 700 ₽">Тимофей Чаптыков</RichCell>)
  })
}

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question