i have been struggling for this case for few days. In local server this code work well. But after process build wont work in server just gone (NO ERROR IN CONSOLE). Here is code:
{Array.isArray(data) &&
data.length > 0 &&
data.map((item) => (
<div key={item.id} className="newsList__item">
<figure className="newsList__item-cover">
<img alt="News Cover" />
</figure>
How to fix this? I tried to match node versionsyour text
New contributor
Tumur Ochir Suglegmaa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1