Skip to content

Commit 42f1e8e

Browse files
committed
Update recent-activity.tsx
1 parent ad99b23 commit 42f1e8e

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

apps/dashboard/app/(main)/websites/[id]/pulse/_components/recent-activity.tsx

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,12 @@ export function RecentActivity({ checks, isLoading }: RecentActivityProps) {
6767
<TableHeader>
6868
<TableRow className="hover:bg-transparent">
6969
<TableHead className="text-balance text-left">Status</TableHead>
70-
<TableHead className="text-balance text-left">Time</TableHead>
71-
<TableHead className="text-balance text-left">Region</TableHead>
72-
<TableHead className="text-balance text-left">IP</TableHead>
73-
<TableHead className="text-balance text-left">Duration</TableHead>
70+
<TableHead className="text-balance text-center">Time</TableHead>
71+
<TableHead className="text-balance text-center">Region</TableHead>
72+
<TableHead className="text-balance text-center">IP</TableHead>
73+
<TableHead className="text-balance text-center">
74+
Duration
75+
</TableHead>
7476
</TableRow>
7577
</TableHeader>
7678
<TableBody>
@@ -120,18 +122,18 @@ export function RecentActivity({ checks, isLoading }: RecentActivityProps) {
120122
</div>
121123
</div>
122124
</TableCell>
123-
<TableCell className="text-left text-muted-foreground text-xs">
125+
<TableCell className="text-center text-muted-foreground text-xs">
124126
{dayjs(check.timestamp).format("MMM D, HH:mm:ss")}
125127
</TableCell>
126-
<TableCell className="text-left text-muted-foreground text-xs">
128+
<TableCell className="text-center text-muted-foreground text-xs">
127129
<Badge className="font-mono text-[10px]" variant="outline">
128130
{check.probe_region || "Global"}
129131
</Badge>
130132
</TableCell>
131-
<TableCell className="text-left font-mono text-muted-foreground text-xs">
133+
<TableCell className="text-center font-mono text-muted-foreground text-xs">
132134
{check.probe_ip || "—"}
133135
</TableCell>
134-
<TableCell className="text-left font-mono text-xs">
136+
<TableCell className="text-center font-mono text-xs">
135137
<span
136138
className={cn(
137139
check.total_ms < 200 && "text-emerald-600",

0 commit comments

Comments
 (0)