From 7688f923c12a505d8a32435686e80087626a97d6 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Tue, 30 Sep 2025 23:25:44 +0000 Subject: [PATCH] Prettier format pending files --- client/pages/Admin.tsx | 4 +++- client/pages/Dashboard.tsx | 7 ++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/client/pages/Admin.tsx b/client/pages/Admin.tsx index dbcc34e1..cb8824b0 100644 --- a/client/pages/Admin.tsx +++ b/client/pages/Admin.tsx @@ -30,7 +30,9 @@ export default function Admin() { const { user, loading, roles } = useAuth(); const navigate = useNavigate(); const isOwner = Array.isArray(roles) && roles.includes("owner"); - const [managedProfiles, setManagedProfiles] = useState([]); + const [managedProfiles, setManagedProfiles] = useState( + [], + ); type Studio = { name: string; tagline?: string; diff --git a/client/pages/Dashboard.tsx b/client/pages/Dashboard.tsx index e31d2708..ed193d29 100644 --- a/client/pages/Dashboard.tsx +++ b/client/pages/Dashboard.tsx @@ -394,9 +394,10 @@ export default function Dashboard() { (p) => p.status === "completed", ).length; - const totalXp = typeof (profile as any)?.total_xp === "number" - ? (profile as any).total_xp - : 0; + const totalXp = + typeof (profile as any)?.total_xp === "number" + ? (profile as any).total_xp + : 0; const performanceBase = 60 + activeCount * 5 + completedCount * 8 + userAchievements.length * 3; const performanceScore = Math.min(