style(admin): apply prettier to phase-6 reconcile changes

Reflows from the duplicate-h2 / tap-target / expanded-default fixes.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Marc-André BombeckandClaude Opus 4.7 committed 2026-05-09 17:48:26 +02:00
1 parent ef96e877b5
commit badd380272
4 files changed
+15 -11

No files matched your search

@@ -206,8 +206,7 @@ function FeedbackCategoryBadge({
// Bug = something that's broken → semantic `destructive` token instead
// of raw `dracula-red`. Visually identical in dark mode (both resolve
// to #ff5555); light mode now picks up the AA-contrast `#cb3a2a`.
className:
"bg-destructive/15 text-destructive border-destructive/30",
className: "bg-destructive/15 text-destructive border-destructive/30",
},
FEATURE_REQUEST: {
label: t("admin.feedback.categoryFeature"),
@@ -57,7 +57,9 @@ export function LoginOverviewSection() {
<div className="flex items-center justify-between gap-2">
<div className="flex items-center gap-2">
<ScrollText className="text-primary h-5 w-5" />
<div className="text-lg font-semibold">{t("admin.loginOverview")}</div>
<div className="text-lg font-semibold">
{t("admin.loginOverview")}
</div>
</div>
<Button
variant="ghost"
@@ -158,7 +158,9 @@ export function UserManagementSection() {
<div className="flex items-center justify-between gap-2">
<div className="flex items-center gap-2">
<Users className="text-primary h-5 w-5" />
<div className="text-lg font-semibold">{t("admin.userManagement")}</div>
<div className="text-lg font-semibold">
{t("admin.userManagement")}
</div>
{filteredUsers && (
<Badge variant="secondary" className="text-xs">
{filteredUsers.length}
+8 -7
View File
@@ -677,13 +677,14 @@ function UserAIProviderSubsection() {
* PATCH-body field name. Returns null when there is no saved key for
* the active provider — the "Remove saved key" button hides itself.
*/
const removableKey: "openaiKey" | "anthropicKey" | "localKey" | null = (() => {
if (provider === "OPENAI" && data?.hasOpenaiKey) return "openaiKey";
if (provider === "ANTHROPIC" && data?.hasAnthropicKey)
return "anthropicKey";
if (provider === "LOCAL" && data?.hasLocalKey) return "localKey";
return null;
})();
const removableKey: "openaiKey" | "anthropicKey" | "localKey" | null =
(() => {
if (provider === "OPENAI" && data?.hasOpenaiKey) return "openaiKey";
if (provider === "ANTHROPIC" && data?.hasAnthropicKey)
return "anthropicKey";
if (provider === "LOCAL" && data?.hasLocalKey) return "localKey";
return null;
})();
async function runTest() {
setTesting(true);