Prettier format pending files

This commit is contained in:
Builder.io 2025-11-09 01:08:05 +00:00
parent c6c4eaf9f4
commit a5736e9d75
2 changed files with 8 additions and 2 deletions

View file

@ -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">

View file

@ -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",
};
}
}