Update src/components/status/LiveHealthCard.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -55,7 +55,7 @@ export function LiveHealthCard() {
|
|||||||
|
|
||||||
const statusText = loading ? 'CHECKING' : health?.ok ? 'ONLINE' : 'OFFLINE';
|
const statusText = loading ? 'CHECKING' : health?.ok ? 'ONLINE' : 'OFFLINE';
|
||||||
const statusClass = loading ? 'badge' : health?.ok ? 'badge' : 'status-bad';
|
const statusClass = loading ? 'badge' : health?.ok ? 'badge' : 'status-bad';
|
||||||
const checkedAt = health?.ts || lastChecked;
|
const checkedAt = lastChecked;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="card">
|
<div className="card">
|
||||||
|
|||||||
Reference in New Issue
Block a user