Expected an assignment or function call and instead saw an expression no-unused-expressions error when trying to do map in React code example
Example: Line 7:13: Expected an assignment or function call and instead saw an expression no-unused-expressions
const Button = () => {
return <button>Hello world</button>
}