import { useUser } from "@auth0/nextjs-auth0/client"; import Link from "next/link"; import { ProfileCard } from "../../components/ProfileCard/ProfileCard"; import { SEO } from "../../components/SEO"; const PageMe = () => { const { user, error, isLoading } = useUser(); return ( <> {isLoading && ( Ładujemy dane dla Ciebie... Sit tight. )} {error && ( Wystąpił błąd. Tyle wiemy: {error.name} {error.message} )} {!isLoading && !error && user && ( Ustawienia Konta )} {!isLoading && !user && ( /ja Musisz być zalogowany aby skorzystać z funkcjonalności tej strony. )} > ); }; export default PageMe;
Sit tight.
Tyle wiemy:
{error.name}
{error.message}
Musisz być zalogowany aby skorzystać z funkcjonalności tej strony.