mirror of
https://github.com/Unleash/unleash.git
synced 2025-10-27 11:02:16 +01:00
This PR fixes these errors (that were showing up in the dev console) in the insights pages: - nesting a div within a p in the count header (flags, environments, apps); instead flip the relationship and nest the p within the div - missing keys in mapped components - passing a boolean "scrolled" value to the underlying component (a div) is invalid: instead, make it so that that prop is not passed The only one of these that could have a visual impact is the first one (p>div -> div>p), but it appears to be the same to me. Here's before the change:  And here's after:  |
||
|---|---|---|
| .. | ||
| FlagsChart | ||
| FlagsProjectChart | ||
| MetricsSummaryChart | ||
| ProjectHealthChart | ||
| TimeToProductionChart | ||
| UpdatesPerEnvironmentTypeChart | ||
| UsersChart | ||
| UsersPerProjectChart | ||