getting this error Uncaught TypeError: product.color?.map is not a function – Reactjs
I'm getting an error called "Uncaught TypeError: product.color?.map is not a function" i'm getting this error when i try to map the color of product is single product page <Filter> <FilterTitle>Color</FilterTitle> {product.color?.map((c)=>( <FilterColor color={c} key={c} /> ))} </Filter> my console…