diff --git a/packages/core/client/src/acl/Configuration/MenuItemsProvider.tsx b/packages/core/client/src/acl/Configuration/MenuItemsProvider.tsx index 1c533215a..fedadb2a1 100644 --- a/packages/core/client/src/acl/Configuration/MenuItemsProvider.tsx +++ b/packages/core/client/src/acl/Configuration/MenuItemsProvider.tsx @@ -27,11 +27,6 @@ export const useMenuItems = () => { return useContext(MenuItemsContext); }; -const useAdminSchemaUid = () => { - const ctx = useSystemSettings(); - return ctx?.data?.data?.options?.adminSchemaUid; -}; - export const MenuItemsProvider = (props) => { const adminSchemaUid = useAdminSchemaUid(); const options = {