fix: useAdminSchemaUid redeclaration

This commit is contained in:
dream2023 2023-06-21 17:49:45 +08:00
parent d7ed43b86d
commit dae191691c

View File

@ -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 = {