import React from "react"; import { Link } from "react-router-dom"; import { useAuth } from "../../context/AuthContext"; // Import useAuth const Header = () => { const { authenticated, logout, authKey } = useAuth(); // Use authentication state and logout function return ( ); }; export default Header;