Skip to content

Commit cf15419

Browse files
committed
Updates form review comments
1 parent 67a2dd3 commit cf15419

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/react-core/src/components/Toolbar/ToolbarFilter.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,7 @@ class ToolbarFilter extends React.Component<ToolbarFilterProps, ToolbarFilterSta
134134
return (
135135
<React.Fragment>
136136
{showToolbarItem && <ToolbarItem {...props}>{children}</ToolbarItem>}
137-
{chipGroupContentRef &&
138-
chipGroupContentRef?.current !== null &&
139-
chipGroupContentRef.current?.firstElementChild !== null &&
137+
{chipGroupContentRef?.current?.firstElementChild &&
140138
ReactDOM.createPortal(chipGroup, chipGroupContentRef.current.firstElementChild)}
141139
</React.Fragment>
142140
);

0 commit comments

Comments
 (0)