I have been following the Auth0 quick start guide exactly but I am now stuck on the part where I am implementing the NavBar. I get the following error and I am not sure how to resolve it. Help would be greatly appreciated.
Failed to compile.
./src/components/NavBar.js
Line 13:22: Parsing error: Unexpected token, expected “,”
11 | // … code removed for brevity
12 |
13 | {isAuthenticated && <button onClick={() => logout()}>Log out}
| ^
14 |
15 | {/* NEW - add a link to the home and profile pages */}
16 | {isAuthenticated && (