mirror of
https://github.com/apache/superset.git
synced 2026-05-08 17:35:33 +00:00
fix(chart): rendering standalone chart and errors (#12179)
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user