Prettier format pending files
This commit is contained in:
parent
c6c4eaf9f4
commit
a5736e9d75
2 changed files with 8 additions and 2 deletions
|
|
@ -324,7 +324,11 @@ export function AdminDiscordManagement() {
|
|||
: "text-red-400"
|
||||
}`}
|
||||
>
|
||||
{botHealth ? (botHealth.status === "online" ? "🟢 Online" : "🔴 Offline") : "..."}
|
||||
{botHealth
|
||||
? botHealth.status === "online"
|
||||
? "🟢 Online"
|
||||
: "🔴 Offline"
|
||||
: "..."}
|
||||
</p>
|
||||
</div>
|
||||
<div className="bg-gradient-to-br from-blue-500/10 to-blue-600/5 p-4 rounded-lg border border-blue-500/20">
|
||||
|
|
|
|||
|
|
@ -46,7 +46,9 @@ export async function checkBotHealth(): Promise<BotHealthStatus> {
|
|||
uptime: 0,
|
||||
timestamp: new Date().toISOString(),
|
||||
error:
|
||||
error instanceof Error ? error.message : "Failed to reach bot health endpoint",
|
||||
error instanceof Error
|
||||
? error.message
|
||||
: "Failed to reach bot health endpoint",
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue