From dae191691c0259d1742eccfa541bbb2d9799a7eb Mon Sep 17 00:00:00 2001 From: dream2023 <1098626505@qq.com> Date: Wed, 21 Jun 2023 17:49:45 +0800 Subject: [PATCH] fix: useAdminSchemaUid redeclaration --- .../core/client/src/acl/Configuration/MenuItemsProvider.tsx | 5 ----- 1 file changed, 5 deletions(-) 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 = {