chore: Remove HeadSeo components where no longer needed + improve app router metadata logic (#18348)
* remove HeadSeo for already migrated pages and refactor prepareMetadata * create _generateMetadataWithoutImage and refactor _generateMetadata
This commit is contained in:
1 parent
b59bf7d1ee
commit
3eda7858c0
11 files changed
+50
-211
No files matched your search
@@ -3,7 +3,6 @@
|
||||
import MembersView from "@calcom/features/ee/organizations/pages/members";
|
||||
import Shell from "@calcom/features/shell/Shell";
|
||||
import { useLocale } from "@calcom/lib/hooks/useLocale";
|
||||
import { HeadSeo } from "@calcom/ui";
|
||||
|
||||
const MembersPage: React.FC = () => {
|
||||
const { t } = useLocale();
|
||||
@@ -14,8 +13,6 @@ const MembersPage: React.FC = () => {
|
||||
description={t("organization_description")}
|
||||
withoutSeo
|
||||
subtitle={t("organization_description")}>
|
||||
<HeadSeo title={t("organization_members")} description={t("organization_description")} />
|
||||
|
||||
<MembersView />
|
||||
</Shell>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user