fix: useAdminSchemaUid redeclaration
This commit is contained in:
parent
d7ed43b86d
commit
dae191691c
@ -27,11 +27,6 @@ export const useMenuItems = () => {
|
|||||||
return useContext(MenuItemsContext);
|
return useContext(MenuItemsContext);
|
||||||
};
|
};
|
||||||
|
|
||||||
const useAdminSchemaUid = () => {
|
|
||||||
const ctx = useSystemSettings();
|
|
||||||
return ctx?.data?.data?.options?.adminSchemaUid;
|
|
||||||
};
|
|
||||||
|
|
||||||
export const MenuItemsProvider = (props) => {
|
export const MenuItemsProvider = (props) => {
|
||||||
const adminSchemaUid = useAdminSchemaUid();
|
const adminSchemaUid = useAdminSchemaUid();
|
||||||
const options = {
|
const options = {
|
||||||
|
Loading…
Reference in New Issue
Block a user