1
0
forked from baron/baron-sso

devfront biome 포맷 정리

This commit is contained in:
2026-02-23 17:41:26 +09:00
parent 6a735ad501
commit a0dc14b1b7
3 changed files with 201 additions and 195 deletions

View File

@@ -163,9 +163,13 @@ function ClientGeneralPage() {
(err as Error)?.message ??
t("msg.common.unknown_error", "unknown error");
alert(
t("msg.dev.clients.general.save_error", "저장에 실패했습니다: {{error}}", {
error: errorMessage,
}),
t(
"msg.dev.clients.general.save_error",
"저장에 실패했습니다: {{error}}",
{
error: errorMessage,
},
),
);
},
});
@@ -515,10 +519,7 @@ function ClientGeneralPage() {
/>
<span className="flex items-center gap-2 text-sm font-bold uppercase text-foreground">
<Shield className="h-4 w-4 text-primary" />
{t(
"ui.dev.clients.general.security.private",
"Private",
)}
{t("ui.dev.clients.general.security.private", "Private")}
</span>
<span className="text-xs text-muted-foreground">
{t(

View File

@@ -87,7 +87,9 @@ function ClientsPage() {
const clients = data?.items || [];
const totalClients = clients.length;
const activeClients = clients.filter((client) => client.status === "active").length;
const activeClients = clients.filter(
(client) => client.status === "active",
).length;
// TODO: Replace with real session/auth-failure metrics when backend endpoints are available.
type StatTone = "up" | "down" | "stable";
type StatItem = {
@@ -310,15 +312,10 @@ function ClientsPage() {
</TableCell>
<TableCell>
<Badge
variant={
client.type === "private" ? "success" : "muted"
}
variant={client.type === "private" ? "success" : "muted"}
>
{client.type === "private"
? t(
"ui.dev.clients.type.private",
"Private",
)
? t("ui.dev.clients.type.private", "Private")
: t("ui.dev.clients.type.pkce", "PKCE")}
</Badge>
</TableCell>