1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2025-01-15 10:39:47 +02:00

Fix proptype warning for id of EnhancedSelectInputOption

This commit is contained in:
Mark McDowall 2020-01-07 17:11:45 -08:00
parent c0a356261b
commit bc0da03caf

View File

@ -63,7 +63,7 @@ class EnhancedSelectInputOption extends Component {
EnhancedSelectInputOption.propTypes = {
className: PropTypes.string.isRequired,
id: PropTypes.string.isRequired,
id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,
isSelected: PropTypes.bool.isRequired,
isDisabled: PropTypes.bool.isRequired,
isHidden: PropTypes.bool.isRequired,