Solution:
Change {} braces to ()
Change your code from
{programsData.map((program) => {
<div className=”category”>
{program.image}
</div>
})}
To
{programsData.map((program) => (
<div className=”category”>
{program.image}
</div>
))}
Solution:
Change {} braces to ()
Change your code from
{programsData.map((program) => {
<div className=”category”>
{program.image}
</div>
})}
To
{programsData.map((program) => (
<div className=”category”>
{program.image}
</div>
))}