diff --git a/web/components/Header.tsx b/web/components/Header.tsx index 3bcc7a5..65bcef7 100644 --- a/web/components/Header.tsx +++ b/web/components/Header.tsx @@ -1,8 +1,8 @@ import Link from "next/link"; import { fetchAPI } from "../lib/api"; -import { StrapiBaseType, StrapiImage, StrapiResponse } from "../utils/models"; import Image from "next/image"; +import { StrapiBaseType, StrapiImage, StrapiResponse } from "../utils/models"; type Response = StrapiBaseType<{ header: StrapiResponse; @@ -39,16 +39,14 @@ const Header = async ({ children, locale }: PropType) => {
{children}
{header && ( -
- header -
+ header )}

{data?.attributes.headerTitle}