diff --git a/src/bundle/ui-dev/src/modules/universal-discovery/universal.discovery.module.js b/src/bundle/ui-dev/src/modules/universal-discovery/universal.discovery.module.js index 4015b856ad..4db2e6008e 100644 --- a/src/bundle/ui-dev/src/modules/universal-discovery/universal.discovery.module.js +++ b/src/bundle/ui-dev/src/modules/universal-discovery/universal.discovery.module.js @@ -540,7 +540,7 @@ const UniversalDiscoveryModule = (props) => { UniversalDiscoveryModule.propTypes = { onConfirm: PropTypes.func.isRequired, - onCancel: PropTypes.func.isRequired, + onCancel: PropTypes.func, title: PropTypes.string.isRequired, activeTab: PropTypes.string, rootLocationId: PropTypes.number, @@ -579,6 +579,7 @@ UniversalDiscoveryModule.propTypes = { }; UniversalDiscoveryModule.defaultProps = { + onCancel: null, activeTab: 'browse', rootLocationId: 1, startingLocationId: null,