diff --git a/src/app/[locale]/about/page.tsx b/src/app/[locale]/about/page.tsx index 97b94f9..384eaf0 100644 --- a/src/app/[locale]/about/page.tsx +++ b/src/app/[locale]/about/page.tsx @@ -17,7 +17,8 @@ const fetchAboutData = async () => { { next: { revalidate: 10 } }, // 5 daqiqa ); if (!res.ok) throw new Error(`Failed to fetch about data: ${res.status}`); - return res.json(); + const data = await res.json(); + return data.banner; }; interface Props {