Skip to content

Commit

Permalink
fix onDismissError issue
Browse files Browse the repository at this point in the history
  • Loading branch information
JKobrynski committed Feb 22, 2024
1 parent d6bf0f7 commit b0eb670
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SelectionList/BaseSelectionList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ function BaseSelectionList<TItem extends ListItem>(
showTooltip={showTooltip}
canSelectMultiple={canSelectMultiple}
onSelectRow={() => selectRow(item)}
onDismissError={onDismissError}
onDismissError={() => onDismissError?.(item)}
shouldPreventDefaultFocusOnSelectRow={shouldPreventDefaultFocusOnSelectRow}
rightHandSideComponent={rightHandSideComponent}
keyForList={item.keyForList}
Expand Down

0 comments on commit b0eb670

Please sign in to comment.