Scheduling infrastructure for absolutely everyone.
fix: do not export client components directly in app routes (#18122)
Benny Joo016c47d5359b
diff --git a/apps/web/app/settings/(settings-layout)/organizations/attributes/[id]/edit/page.tsx b/apps/web/app/settings/(settings-layout)/organizations/attributes/[id]/edit/page.tsxindex 955d365d78d..09c000f8740 100644--- a/apps/web/app/settings/(settings-layout)/organizations/attributes/[id]/edit/page.tsx+++ b/apps/web/app/settings/(settings-layout)/organizations/attributes/[id]/edit/page.tsx@@ -8,4 +8,8 @@ export const generateMetadata = async () =>(t) => t("edit_attribute_description"));-export default OrgAttributesEditPage;+const OrgAttributesEditPageWrapper = async () => {+ return <OrgAttributesEditPage />;+};++export default OrgAttributesEditPageWrapper;diff --git a/apps/web/app/settings/(settings-layout)/organizations/attributes/create/page.tsx b/apps/web/app/settings/(settings-layout)/organizations/attributes/create/page.tsxindex 5a982ff92cc..cb1a29db10d 100644--- a/apps/web/app/settings/(settings-layout)/organizations/attributes/create/page.tsx+++ b/apps/web/app/settings/(settings-layout)/organizations/attributes/create/page.tsx@@ -8,4 +8,8 @@ export const generateMetadata = async () =>(t) => t("create_attribute_description"));-export default OrgAttributesCreatePage;+const OrgAttributesCreatePageWrapper = async () => {+ return <OrgAttributesCreatePage />;+};++export default OrgAttributesCreatePageWrapper;