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
@@ -34,6 +34,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 UserQuickActionsProps {
|
||||
userId: number;
|
||||
@@ -110,7 +111,7 @@ export function UserQuickActions({
|
||||
const amount = parseInt(creditAmount, 10);
|
||||
if (!amount || amount <= 0) return;
|
||||
run(() => sendCredits({ userId, amount }), {
|
||||
successMessage: `${amount.toLocaleString()} credits sent to ${username}.`,
|
||||
successMessage: `${formatNumber(amount)} credits sent to ${username}.`,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user