typescript unused expression, expected an assignment or function call when dispatching a redux action 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>
}