diff --git a/app/src/index.tsx b/app/src/index.tsx index a59c114..8b245c0 100644 --- a/app/src/index.tsx +++ b/app/src/index.tsx @@ -399,7 +399,7 @@ function PreviewApp(props: IPreviewProps, containerId: string) { } function ChartPreviewApp(props: IChartPreviewProps, id: string) { - props.visSpec = FormatSpec(props.visSpec, []); + props.visSpec = FormatSpec([props.visSpec], [])[0]; ReactDOM.render(