Skip to content

Commit

Permalink
Updates form review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tlabaj committed Nov 20, 2024
1 parent 67a2dd3 commit cf15419
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/react-core/src/components/Toolbar/ToolbarFilter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,7 @@ class ToolbarFilter extends React.Component<ToolbarFilterProps, ToolbarFilterSta
return (
<React.Fragment>
{showToolbarItem && <ToolbarItem {...props}>{children}</ToolbarItem>}
{chipGroupContentRef &&
chipGroupContentRef?.current !== null &&
chipGroupContentRef.current?.firstElementChild !== null &&
{chipGroupContentRef?.current?.firstElementChild &&
ReactDOM.createPortal(chipGroup, chipGroupContentRef.current.firstElementChild)}
</React.Fragment>
);
Expand Down

0 comments on commit cf15419

Please sign in to comment.