Skip to content

Commit 4be50c9

Browse files
committed
Updates form review comments
1 parent 0f6d603 commit 4be50c9

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
@@ -133,9 +133,7 @@ class ToolbarFilter extends React.Component<ToolbarFilterProps, ToolbarFilterSta
133133
return (
134134
<React.Fragment>
135135
{showToolbarItem && <ToolbarItem {...props}>{children}</ToolbarItem>}
136-
{labelGroupContentRef &&
137-
labelGroupContentRef?.current !== null &&
138-
labelGroupContentRef.current?.firstElementChild !== null &&
136+
{labelGroupContentRef?.current?.firstElementChild !== null &&
139137
ReactDOM.createPortal(labelGroup, labelGroupContentRef.current.firstElementChild)}
140138
</React.Fragment>
141139
);

0 commit comments

Comments
 (0)