diff --git a/public/app/features/canvas/runtime/root.tsx b/public/app/features/canvas/runtime/root.tsx index 4a1e8a207c8..512a4d78a90 100644 --- a/public/app/features/canvas/runtime/root.tsx +++ b/public/app/features/canvas/runtime/root.tsx @@ -1,3 +1,5 @@ +import { Fragment } from 'react'; + import { CanvasFrameOptions } from '../frame'; import { FrameState } from './frame'; @@ -49,7 +51,9 @@ export class RootElement extends FrameState { ref={this.setRootRef} style={{ ...this.sizeStyle, ...this.dataStyle }} > - {this.elements.map((v) => v.render())} + {this.elements.map((v) => ( + {v.render()} + ))} ); }