diff --git a/app/ui/PageHeader.tsx b/app/ui/PageHeader.tsx index 0ffb2a0..f76f15f 100644 --- a/app/ui/PageHeader.tsx +++ b/app/ui/PageHeader.tsx @@ -5,18 +5,22 @@ import Link from "next/link"; import { SelectLanguage } from "./SelectLanguage"; import AccountCircle from "@mui/icons-material/AccountCircle"; import { useLocale } from "next-intl"; +import { useSession } from "next-auth/react"; export const PageHeader = () => { const locale = useLocale(); + const { data: session } = useSession(); return (
logo Režije   - - - + {session && ( + + + + )}
); } \ No newline at end of file