MCPcopy Create free account
hub / github.com/esengine/esengine / updateMenuItems

Function updateMenuItems

packages/editor-app/src/components/TitleBar.tsx:108–113  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

106 }, [updateUndoRedoState]);
107
108 const updateMenuItems = () => {
109 if (uiRegistry) {
110 const items = uiRegistry.getChildMenus('window');
111 setPluginMenuItems(items);
112 }
113 };
114
115 useEffect(() => {
116 updateMenuItems();

Callers 1

TitleBarFunction · 0.70

Calls 1

getChildMenusMethod · 0.80

Tested by

no test coverage detected