File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1- import { React , components , lodash } from "@common" ;
1+ import { React , lodash } from "@common" ;
2+ import { ContextMenu } from "@components" ;
23import type { MenuProps } from "@components/ContextMenu" ;
34import type {
45 ContextMenuTypes ,
@@ -87,7 +88,7 @@ export function _insertMenuItems(props: ContextMenuProps): ContextMenuProps {
8788 children : lodash . cloneDeep ( props . children ) ,
8889 } ;
8990
90- const { MenuGroup } = components ;
91+ const { MenuGroup } = ContextMenu ;
9192 const repluggedGroup = < MenuGroup /> ;
9293 repluggedGroup . props . children = [ ] ;
9394
Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ export default [
1212 ] ,
1313 } ,
1414 {
15- find : ".Menu,{ " ,
15+ find : "navId: " ,
1616 replacements : [
1717 {
18- match : / \. M e n u , { / g,
18+ match : / r e t u r n \( 0 , \w + \. \w + \) \( \w + \. \w + , { / g,
1919 replace : ( prefix ) => `${ prefix } data:arguments,` ,
2020 } ,
2121 ] ,
You can’t perform that action at this time.
0 commit comments