From 54ece53b5280579f91c4e2eeb66cb7bf24978abe Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 21 Jun 2026 01:55:23 -0400 Subject: [PATCH] x --- apps/website/src/app/[lang]/contact/page.tsx | 2 +- apps/website/src/app/[lang]/faq/page.tsx | 2 +- apps/website/src/lib/seo.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/website/src/app/[lang]/contact/page.tsx b/apps/website/src/app/[lang]/contact/page.tsx index ca5d91a..e63b268 100644 --- a/apps/website/src/app/[lang]/contact/page.tsx +++ b/apps/website/src/app/[lang]/contact/page.tsx @@ -17,7 +17,7 @@ export default function ContactPage() { useEffect(() => { fetch(`/api/settings?lang=${lang}`) .then(res => res.ok ? res.json() : {}) - .then(data => { + .then((data: any) => { const brand = data.brandName || '' setBrandName(brand) const username = brand.toLowerCase().replace(/\s+/g, '') diff --git a/apps/website/src/app/[lang]/faq/page.tsx b/apps/website/src/app/[lang]/faq/page.tsx index 09b0e5d..968ba51 100644 --- a/apps/website/src/app/[lang]/faq/page.tsx +++ b/apps/website/src/app/[lang]/faq/page.tsx @@ -48,7 +48,7 @@ export default function FaqPage() { useEffect(() => { fetch(`/api/settings?lang=${lang}`) .then(res => res.ok ? res.json() : {}) - .then(data => { + .then((data: any) => { if (data.brandName) setBrandName(data.brandName) }) .catch(() => {}) diff --git a/apps/website/src/lib/seo.ts b/apps/website/src/lib/seo.ts index cd55351..f37d86f 100644 --- a/apps/website/src/lib/seo.ts +++ b/apps/website/src/lib/seo.ts @@ -4,7 +4,7 @@ import { SUPPORTED_LOCALES } from './locales'; const baseUrl = process.env.NEXT_PUBLIC_SITE_URL || 'http://localhost:3000'; type SeoMetadataProps = { - title: string; + title?: string; description: string; path: string; // e.g. '/shop', '/category/1', or '' lang: string;