From 35b07c8fd2a5596ef4800312e08456e76b191348 Mon Sep 17 00:00:00 2001 From: Peppa Date: Fri, 20 Nov 2026 15:40:21 +0500 Subject: [PATCH] =?UTF-8?q?QLFW-49:=20=D1=83=D0=B1=D1=80=D0=B0=D1=82=D1=8C?= =?UTF-8?q?=20=D0=BD=D0=B5=D0=B8=D1=81=D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D1=83?= =?UTF-8?q?=D0=B5=D0=BC=D1=8B=D0=B9=20=D0=BF=D0=B0=D1=80=D0=B0=D0=BC=D0=B5?= =?UTF-8?q?=D1=82=D1=80=20review?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 5.5 --- src/app/(site)/[locale]/about/page.tsx | 2 +- src/components/SectionPage.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/(site)/[locale]/about/page.tsx b/src/app/(site)/[locale]/about/page.tsx index d6f11d3..a73146b 100644 --- a/src/app/(site)/[locale]/about/page.tsx +++ b/src/app/(site)/[locale]/about/page.tsx @@ -25,7 +25,7 @@ export default async function Page({ params }: { params: Promise<{ locale: strin const about = await loadAbout(locale) const aboutText = paragraphs(about?.text) const aboutPhoto = mediaOf(about?.photo) - return 0} review={false}> + return 0}> {aboutText.length > 0 &&
{/* eslint-disable-next-line @next/next/no-img-element -- загруженные сотрудниками фото отдаёт Payload */} {aboutPhoto && {aboutPhoto.alt}} diff --git a/src/components/SectionPage.tsx b/src/components/SectionPage.tsx index 467cc67..ef9a3e8 100644 --- a/src/components/SectionPage.tsx +++ b/src/components/SectionPage.tsx @@ -3,7 +3,7 @@ import { Footer } from './Footer' import type { CmsLegal } from '@/lib/legal-model' import type { Dict, Locale } from '@/i18n' -export function SectionPage({ t, locale, path, title, showNews, legal, children, review = true }: { t: Dict; locale: Locale; path: string; title: string; showNews: boolean; legal: CmsLegal | null; children: React.ReactNode; review?: boolean }) { +export function SectionPage({ t, locale, path, title, showNews, legal, children }: { t: Dict; locale: Locale; path: string; title: string; showNews: boolean; legal: CmsLegal | null; children: React.ReactNode }) { return <>