fix: do not export client components directly in app routes (#18122)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user