diff --git a/src/components/shared/components/SectionTitle.tsx b/src/components/shared/components/SectionTitle.tsx index 114e2815..c2b6a757 100644 --- a/src/components/shared/components/SectionTitle.tsx +++ b/src/components/shared/components/SectionTitle.tsx @@ -2,6 +2,8 @@ import clsx from "clsx"; import Image from "next/image"; import { useMemo } from "react"; +import { basePath } from "~/lib/app.constants"; + import { PrimaryLink } from "./Link"; export type SectionTitleLink = { @@ -46,7 +48,9 @@ export const SectionTitle: React.FC = ({ return (
- {navImgUrl && {title}} + {navImgUrl && ( + {title} + )}
{titleComponent}