diff --git a/src/components/Nav.jsx b/src/components/Nav.jsx index 5256f2b..bee263f 100644 --- a/src/components/Nav.jsx +++ b/src/components/Nav.jsx @@ -1,16 +1,12 @@ import React from "react"; import {Link} from "react-router-dom"; -export class Nav extends React.Component { - render() { - return ( - - ) - } -} +export const Nav = () => ( + +)