File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/react/src/ActionBar Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 3636
3737.Group {
3838 display : flex;
39- }
39+ }
Original file line number Diff line number Diff line change @@ -270,13 +270,13 @@ export const ActionBar: React.FC<React.PropsWithChildren<ActionBarProps>> = prop
270270 )
271271 }
272272
273+ // TODO: refine this so that we don't have to loop through the registry multiple times
273274 const groupedItems = Array . from ( childRegistry ) . filter ( ( [ , childProps ] ) => {
274275 if ( childProps ?. type !== 'action' ) return false
275276 if ( childProps . groupId !== id ) return false
276277 return true
277278 } )
278279
279- // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
280280 if ( menuItem . type === 'group' ) {
281281 return (
282282 < ActionMenu key = { id } >
You can’t perform that action at this time.
0 commit comments