Skip to content

Commit

Permalink
missing prop definition/default
Browse files Browse the repository at this point in the history
  • Loading branch information
tischsoic committed Nov 27, 2024
1 parent 234bf22 commit 3a0bd10
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -643,6 +643,7 @@ const UniversalDiscoveryModule = (props) => {

UniversalDiscoveryModule.propTypes = {
onConfirm: PropTypes.func.isRequired,
onItemsConfirm: PropTypes.func,
onCancel: PropTypes.func,
title: PropTypes.string.isRequired,
activeTab: PropTypes.string,
Expand Down Expand Up @@ -683,6 +684,7 @@ UniversalDiscoveryModule.propTypes = {
};

UniversalDiscoveryModule.defaultProps = {
onItemsConfirm: () => {},
onCancel: null,
activeTab: 'browse',
rootLocationId: 1,
Expand Down

0 comments on commit 3a0bd10

Please sign in to comment.