text: import React from 'react';
  import { useAuth0, withAuthenticationRequired } from '@auth0/auth0-react';
  import NavBar from "../Components/NavBar/NavBar";
  
  const Profile = () => {
      const authData = useAuth0();
      // console.log(authData);
  
      return (
          <>
              <NavBar />
              <h3>Profile</h3>
              <pre>{JSON.stringify(authData, null, 2)}</pre>
          </>
      );
  };
  
  // Wrap the component in the withAuthenticationRequired handler
  export default withAuthenticationRequired(Profile);
  