new
This commit is contained in:
@@ -11,7 +11,7 @@ export function RealTimeStats() {
|
||||
|
||||
if (loading) {
|
||||
return (
|
||||
<div className="grid gap-6 md:grid-cols-2">
|
||||
<div className="space-y-6">
|
||||
<div className="h-64 bg-muted animate-pulse rounded-lg" />
|
||||
<div className="h-64 bg-muted animate-pulse rounded-lg" />
|
||||
</div>
|
||||
@@ -20,7 +20,7 @@ export function RealTimeStats() {
|
||||
|
||||
if (error) {
|
||||
return (
|
||||
<div className="grid gap-6 md:grid-cols-2">
|
||||
<div className="space-y-6">
|
||||
<Card>
|
||||
<CardContent className="flex items-center justify-center h-64">
|
||||
<div className="text-center">
|
||||
@@ -47,7 +47,7 @@ export function RealTimeStats() {
|
||||
|
||||
if (!stats) {
|
||||
return (
|
||||
<div className="grid gap-6 md:grid-cols-2">
|
||||
<div className="space-y-6">
|
||||
<Card>
|
||||
<CardContent className="flex items-center justify-center h-64">
|
||||
<p className="text-sm text-muted-foreground">
|
||||
@@ -67,7 +67,7 @@ export function RealTimeStats() {
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="grid gap-6 md:grid-cols-2">
|
||||
<div className="space-y-6">
|
||||
<SimpleStatsChart
|
||||
title="Tokens consommés par jour"
|
||||
data={stats.dailyTokens}
|
||||
|
||||
Reference in New Issue
Block a user