fix: do not export client components directly in app routes (#18122)

This commit is contained in:
Benny Joo
2024-12-11 21:17:53 +00:00
committed by GitHub
parent 2aeb290bda
commit 016c47d535
2 changed files with 10 additions and 2 deletions
@@ -8,4 +8,8 @@ export const generateMetadata = async () =>
(t) => t("edit_attribute_description")
);
export default OrgAttributesEditPage;
const OrgAttributesEditPageWrapper = async () => {
return <OrgAttributesEditPage />;
};
export default OrgAttributesEditPageWrapper;
@@ -8,4 +8,8 @@ export const generateMetadata = async () =>
(t) => t("create_attribute_description")
);
export default OrgAttributesCreatePage;
const OrgAttributesCreatePageWrapper = async () => {
return <OrgAttributesCreatePage />;
};
export default OrgAttributesCreatePageWrapper;