fix(dashboard): remove unecessary portal
This commit is contained in:
committed by
Carl-Gerhard Lindesvärd
parent
dbc2a32458
commit
2258fed24a
@@ -72,21 +72,19 @@ export const ChartRootShortcut = ({
|
|||||||
lineType = 'monotone',
|
lineType = 'monotone',
|
||||||
}: ChartRootShortcutProps) => {
|
}: ChartRootShortcutProps) => {
|
||||||
return (
|
return (
|
||||||
<Portal.Root>
|
<ChartRoot
|
||||||
<ChartRoot
|
projectId={projectId}
|
||||||
projectId={projectId}
|
range={range}
|
||||||
range={range}
|
breakdowns={breakdowns ?? []}
|
||||||
breakdowns={breakdowns ?? []}
|
previous={previous}
|
||||||
previous={previous}
|
chartType={chartType}
|
||||||
chartType={chartType}
|
interval={interval}
|
||||||
interval={interval}
|
name="Random"
|
||||||
name="Random"
|
lineType={lineType}
|
||||||
lineType={lineType}
|
metric="sum"
|
||||||
metric="sum"
|
events={events}
|
||||||
events={events}
|
aspectRatio={aspectRatio}
|
||||||
aspectRatio={aspectRatio}
|
hideXAxis={hideXAxis}
|
||||||
hideXAxis={hideXAxis}
|
/>
|
||||||
/>
|
|
||||||
</Portal.Root>
|
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user