From bc0da03cafe15ed39b45bbc7e92b678966d67383 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Tue, 7 Jan 2020 17:11:45 -0800 Subject: [PATCH] Fix proptype warning for id of EnhancedSelectInputOption --- frontend/src/Components/Form/EnhancedSelectInputOption.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/Components/Form/EnhancedSelectInputOption.js b/frontend/src/Components/Form/EnhancedSelectInputOption.js index e1b410c28..aa2911f85 100644 --- a/frontend/src/Components/Form/EnhancedSelectInputOption.js +++ b/frontend/src/Components/Form/EnhancedSelectInputOption.js @@ -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,