diff --git a/app/dashboard/storefront/customers/page.tsx b/app/dashboard/storefront/customers/page.tsx index f51fa00..4057cee 100644 --- a/app/dashboard/storefront/customers/page.tsx +++ b/app/dashboard/storefront/customers/page.tsx @@ -145,7 +145,7 @@ export default function CustomerManagementPage() { const handleItemsPerPageChange = (value: string) => { setItemsPerPage(parseInt(value, 10)); - setPage(1); // Reset to first page when changing items per page + setPage(1); }; const handleSort = (column: "totalOrders" | "totalSpent" | "lastOrderDate") => { @@ -159,7 +159,6 @@ export default function CustomerManagementPage() { setSearchQuery(""); }; - // Format date with time const formatDate = (dateString: string | null | undefined) => { if (!dateString) return "N/A"; try {