File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ import warning from 'rc-util/lib/warning';
77import * as React from 'react' ;
88import { useImperativeHandle } from 'react' ;
99import { flushSync } from 'react-dom' ;
10+ import MenuItem from './MenuItem' ;
11+ import SubMenu from './SubMenu' ;
1012import { IdContext } from './context/IdContext' ;
1113import MenuContextProvider from './context/MenuContext' ;
1214import { PathRegisterContext , PathUserContext } from './context/PathContext' ;
@@ -31,8 +33,6 @@ import type {
3133 SelectInfo ,
3234 TriggerSubMenuAction ,
3335} from './interface' ;
34- import MenuItem from './MenuItem' ;
35- import SubMenu from './SubMenu' ;
3636import { parseItems } from './utils/nodeUtil' ;
3737import { warnItemProp } from './utils/warnUtil' ;
3838
Original file line number Diff line number Diff line change @@ -392,4 +392,4 @@ export default function SubMenu(props: SubMenuProps) {
392392 { renderNode }
393393 </ PathTrackerContext . Provider >
394394 ) ;
395- }
395+ }
You can’t perform that action at this time.
0 commit comments