diff --git a/packages/core/client/src/route-switch/antd/admin-layout/index.tsx b/packages/core/client/src/route-switch/antd/admin-layout/index.tsx index a8654507fa..bb34122a98 100644 --- a/packages/core/client/src/route-switch/antd/admin-layout/index.tsx +++ b/packages/core/client/src/route-switch/antd/admin-layout/index.tsx @@ -35,9 +35,9 @@ import { } from '../../../'; import { Plugin } from '../../../application/Plugin'; import { useAppSpin } from '../../../application/hooks/useAppSpin'; +import { useMenuTranslation } from '../../../schema-component/antd/menu/locale'; import { Help } from '../../../user/Help'; import { VariablesProvider } from '../../../variables'; -import { useMenuTranslation } from '../../../schema-component/antd/menu/locale'; const filterByACL = (schema, options) => { const { allowAll, allowMenuItemIds = [] } = options; @@ -218,7 +218,6 @@ const MenuEditor = (props) => { diff --git a/packages/core/client/src/schema-component/core/RemoteSchemaComponent.tsx b/packages/core/client/src/schema-component/core/RemoteSchemaComponent.tsx index b2e3152645..652fda9f05 100644 --- a/packages/core/client/src/schema-component/core/RemoteSchemaComponent.tsx +++ b/packages/core/client/src/schema-component/core/RemoteSchemaComponent.tsx @@ -62,10 +62,10 @@ const RequestSchemaComponent: React.FC = (props) => return ; } return noForm ? ( - + ) : ( - + ); };