diff --git a/src/app/components/Nav/Nav.js b/src/app/components/Nav/Nav.js index fa6e9d85..9bfe8b96 100644 --- a/src/app/components/Nav/Nav.js +++ b/src/app/components/Nav/Nav.js @@ -1,125 +1,124 @@ -import { useState, memo } from "react"; -import { Link, useLocation } from "react-router-dom"; +import { useState, memo } from 'react'; +import { Link, useLocation } from 'react-router-dom'; -import { Text } from "app/components"; -import { Space, Icon } from "app/Symbols"; -import socials from "assets/data/socials.json"; +import { Text } from 'app/components'; +import { Space, Icon } from 'app/Symbols'; +import socials from 'assets/data/socials.json'; -import "./Nav.scss"; +import './Nav.scss'; const Nav = () => { - const { pathname } = useLocation(); - const [mobileExpand, setMobileExpand] = useState(false); - const toggleMobileExpand = () => { - setMobileExpand(!mobileExpand); - }; - if (pathname === "/designathon22/" || pathname === "/designathon22") - return <>; + const { pathname } = useLocation(); + const [mobileExpand, setMobileExpand] = useState(false); + const toggleMobileExpand = () => { + setMobileExpand(!mobileExpand); + }; + if (pathname === '/designathon22/' || pathname === '/designathon22') return <>; - return ( - - ); + return ( + + ); }; export default memo(Nav);