fix(chart): rendering standalone chart and errors (#12179)

This commit is contained in:
Agata Stawarz
2020-12-23 12:06:08 +01:00
committed by GitHub
parent 93af329078
commit 4ac00a0954
3 changed files with 7 additions and 4 deletions

View File

@@ -172,9 +172,8 @@ const ExploreChartPanel = props => {
return (
<ParentSize>
{({ width, height }) =>
width > 0 &&
height > 0 && (
{({ width }) =>
width > 0 && (
<ChartContainer
width={Math.floor(width)}
height={chartSectionHeight}