hide shared page branding in EE (#1193)

* hide shared page branding in EE

* Hide branding in business plan
This commit is contained in:
Philip Okugbe
2025-05-17 18:17:34 +00:00
committed by GitHub
parent 4a0b4040ed
commit 7491224d0f
6 changed files with 39 additions and 14 deletions

View File

@ -7,8 +7,9 @@ import React, { useEffect } from "react";
import ReadonlyPageEditor from "@/features/editor/readonly-page-editor.tsx";
import { extractPageSlugId } from "@/lib";
import { Error404 } from "@/components/ui/error-404.tsx";
import ShareBranding from "@/features/share/components/share-branding.tsx";
export default function SingleSharedPage() {
export default function SharedPage() {
const { t } = useTranslation();
const { pageSlug } = useParams();
const { shareId } = useParams();
@ -53,6 +54,8 @@ export default function SingleSharedPage() {
content={data.page.content}
/>
</Container>
{data && !shareId && !data.hasLicenseKey && <ShareBranding />}
</div>
);
}