Update overview stats

cgen-96922a15d4cb47fd90b4f086017d1a86
This commit is contained in:
Builder.io 2025-10-14 02:25:04 +00:00
parent e3d826f0ee
commit b1c6c0fa6f

View file

@ -229,15 +229,25 @@ export default function Admin() {
tone: "green" as const,
},
{
title: "Security posture",
value: "Owner",
description: `Admin access scoped to ${ownerEmail}.`,
trend: "Multi-role privileges active",
icon: Shield,
title: "Pending applications",
value: applicationsLoading ? "…" : pendingApplications.toString(),
description: "Project collaboration requests awaiting review.",
trend: applicationsLoading
? "Fetching submissions…"
: `${applications.length} total submissions`,
icon: ClipboardList,
tone: "orange" as const,
},
],
[featuredStudios, loadingPosts, ownerEmail, publishedPosts, totalMembers],
[
applications.length,
applicationsLoading,
featuredStudios,
loadingPosts,
pendingApplications,
publishedPosts,
totalMembers,
],
);
const quickActions = useMemo(