I\'m passing an array (data) to the component via a prop, but then I can\'t map over data.
const Component = ({ data }) => { console.log(data); const