mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-18 13:20:43 +00:00
Fix last commit (shouldn't add layout to ChartSubheaderWithData)
This commit is contained in:
@ -163,7 +163,7 @@ function StackedBarChart({data, chartSubheaderData}: Props): JSX.Element
|
|||||||
|
|
||||||
return data ? (
|
return data ? (
|
||||||
<Box>
|
<Box>
|
||||||
{chartSubheaderData && (<ChartSubheaderWithData chartSubheaderData={chartSubheaderData} layout="inline" />)}
|
{chartSubheaderData && (<ChartSubheaderWithData chartSubheaderData={chartSubheaderData} />)}
|
||||||
<Box width="100%" height="300px">
|
<Box width="100%" height="300px">
|
||||||
<Bar data={data} options={makeOptions(data)} getElementsAtEvent={handleClick} />
|
<Bar data={data} options={makeOptions(data)} getElementsAtEvent={handleClick} />
|
||||||
</Box>
|
</Box>
|
||||||
|
Reference in New Issue
Block a user