'use client' import { useEffect, useState } from 'react' import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faExternalLinkAlt } from "@fortawesome/free-solid-svg-icons"; import { faUser, faUpload } from "@fortawesome/free-solid-svg-icons"; import Link from 'next/link' import { LoginButton } from '@/app/components/auth' export default function Navbar() { const [isExpanded, setExpanded] = useState(false); const [isProfileButton, setIsProfileButton] = useState(false); const handleBurgerClick = () => { setExpanded(!isExpanded); }; // const { authData } = useAuth() // useEffect(() => { // if (!!authData?.accessToken && !!authData?.user?.username) setIsProfileButton(true) // else setIsProfileButton(false) // }, [authData]) return ( <> ) }