fix(explore): rendering regression on standalone (#24177)

This commit is contained in:
JUST.in DO IT
2023-05-23 09:49:04 -07:00
committed by GitHub
parent f036adbc4f
commit 8e45af43e1
2 changed files with 21 additions and 2 deletions

View File

@@ -418,7 +418,11 @@ const ExploreChartPanel = ({
if (!bodyClasses.includes(standaloneClass)) {
document.body.className += ` ${standaloneClass}`;
}
return standaloneChartBody;
return (
<div id="app" data-test="standalone-app" ref={resizeObserverRef}>
{standaloneChartBody}
</div>
);
}
return (