Failed to compile ./src/components/MenuComponent.js Line 7:9: Expected an assignment or function call and instead saw an expression no-unused-expressions Search for the keywords to learn more about each error. 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>
}