Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
KirilCycle committed May 6, 2024
1 parent 4f370ed commit 99f41b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/lib/listbox/ListBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ export const ListBox = React.memo(
const createItem = (option, index, scrollerOptions = {}) => {
const style = { height: scrollerOptions.props ? scrollerOptions.props.itemSize : undefined };

if (option.group && option.optionGroup && props.optionGroupLabel) {
if (option.group && option.optionGroup && props.optionGroupLabel) {
const groupContent = props.optionGroupTemplate ? ObjectUtils.getJSXElement(props.optionGroupTemplate, option, index) : getOptionGroupLabel(option);
const key = index + '_' + getOptionGroupRenderKey(option);
const itemGroupProps = mergeProps(
Expand Down

0 comments on commit 99f41b4

Please sign in to comment.