Expected an assignment or function call and instead saw an expression. (no-unused-expressions)standard(no-unused-expressions) 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>
}