Expected an assignment or function call and instead saw an expression

JavaScript
Make sure to include "return()" within the code block.

export const Example = () => {
    return (
        <div>
            <p>Don't forget "return" within your code block.</p>
        </div>
    )
}
Source

Also in JavaScript: