round trip query string parameters for startDate and endDate; drop JSON stringify

This commit is contained in:
dannyrb authored and James A. Petts committed 2020-05-15 14:02:00 +02:00
1 parent 4413572c1c
commit 2b8f527d8c
5 files changed
+70 -77

No files matched your search

@@ -41,10 +41,10 @@ InputDateRange.propTypes = {
.isRequired,
onLabelClick: PropTypes.func.isRequired,
value: PropTypes.shape({
/** Start date moment object */
startDate: PropTypes.object, // moment date is an object
/** End date moment object */
endDate: PropTypes.object, // moment date is an object
/** YYYYMMDD (19921022) */
startDate: PropTypes.string,
/** YYYYMMDD (19921022) */
endDate: PropTypes.string,
}),
onChange: PropTypes.func.isRequired,
};