diff --git a/src/components/legal-page.tsx b/src/components/legal-page.tsx index 206d0f4..816980e 100644 --- a/src/components/legal-page.tsx +++ b/src/components/legal-page.tsx @@ -16,6 +16,7 @@ export function LegalPage({ sections, }: { title: string; + /** Optional — leer lassen, wenn kein Hinweis (mehr) angezeigt werden soll. */ noticeText: string; sections: LegalSection[]; }) { @@ -23,9 +24,9 @@ export function LegalPage({
- {noticeText} -
+ {noticeText ? ( +{noticeText}
+ ) : null}