diff --git a/apps/web/screens/Organization/ParentSubpage.tsx b/apps/web/screens/Organization/ParentSubpage.tsx index 454d2fc12cec..3ae364be44fb 100644 --- a/apps/web/screens/Organization/ParentSubpage.tsx +++ b/apps/web/screens/Organization/ParentSubpage.tsx @@ -29,11 +29,6 @@ type OrganizationParentSubpageScreenContext = ScreenContext & { export type OrganizationParentSubpageProps = StandaloneParentSubpageProps -const LanguageToggleSetup = (props: { ids: string[] }) => { - useContentfulId(...props.ids) - return null -} - const OrganizationParentSubpage: Screen< OrganizationParentSubpageProps, OrganizationParentSubpageScreenContext @@ -49,6 +44,7 @@ const OrganizationParentSubpage: Screen< const { activeLocale } = useI18n() const { linkResolver } = useLinkResolver() const n = useNamespace(namespace) + useContentfulId(organizationPage.id, parentSubpage.id, subpage.id) return ( - - {parentSubpage.childLinks.length > 1 && (