"use client"; import { Links } from "./navbarData"; import Link from "next/link"; import { usePathname } from "next/navigation"; // for checking active links import { useAuth } from "../hooks/useAuth"; const NavBar = () => { const pathname = usePathname(); const { isAuthenticated, user, logout, isLoading } = useAuth(); console.log(`isAuthenticated ... ${isAuthenticated}`); return ( ); }; export default NavBar;