diff --git a/app/ui/PageHeader.tsx b/app/ui/PageHeader.tsx index 64dc674..0ffb2a0 100644 --- a/app/ui/PageHeader.tsx +++ b/app/ui/PageHeader.tsx @@ -1,14 +1,22 @@ +"use client"; + import Image from "next/image"; import Link from "next/link"; import { SelectLanguage } from "./SelectLanguage"; import AccountCircle from "@mui/icons-material/AccountCircle"; +import { useLocale } from "next-intl"; -export const PageHeader = () => +export const PageHeader = () => { + const locale = useLocale(); + + return (
- logo Režije + logo Režije   - + -
\ No newline at end of file + + ); +} \ No newline at end of file