chore: remove 4 unused files (theme-editor-fields, use-user-bulk-actions, user-columns, use-media-library)
This commit is contained in:
1 parent
9bc0834bbb
commit
9ae03056e2
17 files changed
+149
-1028
No files matched your search
@@ -32,6 +32,7 @@ import {
|
||||
import { Input } from "@/components/ui/input";
|
||||
import { Label } from "@/components/ui/label";
|
||||
import { useServerAction } from "@/hooks/use-server-action";
|
||||
import { formatNumber } from "@/lib/format-date";
|
||||
|
||||
interface RankSummary {
|
||||
id: number;
|
||||
@@ -129,8 +130,7 @@ export function PermissionsList({
|
||||
{/* Header */}
|
||||
<div className="flex flex-wrap items-center justify-between gap-3">
|
||||
<p className="text-muted-foreground">
|
||||
{ranks.length} ranks · {totalUsers.toLocaleString()} users
|
||||
total
|
||||
{ranks.length} ranks · {formatNumber(totalUsers)} users total
|
||||
</p>
|
||||
<div className="flex flex-wrap gap-2">
|
||||
<Button
|
||||
@@ -212,7 +212,7 @@ export function PermissionsList({
|
||||
{/* User count */}
|
||||
<div className="flex items-center gap-1 text-xs text-muted-foreground">
|
||||
<Users className="h-3 w-3" />
|
||||
{rank.userCount.toLocaleString()} users
|
||||
{formatNumber(rank.userCount)} users
|
||||
</div>
|
||||
|
||||
{/* Actions */}
|
||||
|
||||
Reference in new issue
Block a user