I am looping through an array in React and conditionally returning inside of carousel component.
Code:
projects.map((proj) => { if(proj.active)