fix usage graph
This commit is contained in:
@@ -215,7 +215,6 @@ export default function BillingUsage({ organization }: Props) {
|
|||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
<div className="grid grid-cols-1 lg:grid-cols-2 gap-6">
|
|
||||||
{/* Events Chart */}
|
{/* Events Chart */}
|
||||||
<div className="space-y-2">
|
<div className="space-y-2">
|
||||||
<h3 className="text-sm font-medium text-muted-foreground">
|
<h3 className="text-sm font-medium text-muted-foreground">
|
||||||
@@ -226,6 +225,10 @@ export default function BillingUsage({ organization }: Props) {
|
|||||||
<BarChart data={chartData} barSize={useWeeklyIntervals ? 20 : 8}>
|
<BarChart data={chartData} barSize={useWeeklyIntervals ? 20 : 8}>
|
||||||
<RechartTooltip
|
<RechartTooltip
|
||||||
content={<EventsTooltip useWeekly={useWeeklyIntervals} />}
|
content={<EventsTooltip useWeekly={useWeeklyIntervals} />}
|
||||||
|
cursor={{
|
||||||
|
fill: 'var(--def-200)',
|
||||||
|
stroke: 'var(--def-200)',
|
||||||
|
}}
|
||||||
/>
|
/>
|
||||||
<Bar
|
<Bar
|
||||||
dataKey="count"
|
dataKey="count"
|
||||||
@@ -244,7 +247,6 @@ export default function BillingUsage({ organization }: Props) {
|
|||||||
</ResponsiveContainer>
|
</ResponsiveContainer>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</>,
|
</>,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user