Line 14: Expected an assignment or function call and instead saw an expression code example

Example 1: Expected an assignment or function call and instead saw an expression

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>
    )
}

Example 2: Line 6:3: Expected an assignment or function call and instead saw an expression no-unused-expressions

import React, { useState } from "react";
import { Link } from "react-router-dom";

function Navbar() {
  return;
  <>
    <nav className="navbar">
      <div className="navbar-container">
        <Link to="/" className="navbar-logo">
          TRVL <i className="fab fa-typo3"></i>
        </Link>
      </div>
    </nav>
  </>;
}

export default Navbar;