chore: Clean up some console warnings (#11061)

* Upgrade a few packages

* Update some prop types

* Update HTML

* Moar warning fixes

* Remove wrapper div
This commit is contained in:
Kamil Gabryjelski
2020-09-28 18:43:21 +02:00
committed by GitHub
parent f01b8a30f7
commit 2fd8fca207
15 changed files with 326 additions and 229 deletions

View File

@@ -38,7 +38,7 @@ const propTypes = {
colType: PropTypes.string,
width: PropTypes.string,
height: PropTypes.string,
timeLag: PropTypes.string,
timeLag: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
timeRatio: PropTypes.string,
comparisonType: PropTypes.string,
showYAxis: PropTypes.bool,