From 466137a74a5d65259b96ac7ead8b1f3d5d25aa35 Mon Sep 17 00:00:00 2001
From: NotII <46204250+NotII@users.noreply.github.com>
Date: Wed, 2 Apr 2025 00:40:43 +0100
Subject: [PATCH] Update page.tsx
---
app/dashboard/storefront/customers/page.tsx | 78 +++++++++++----------
1 file changed, 40 insertions(+), 38 deletions(-)
diff --git a/app/dashboard/storefront/customers/page.tsx b/app/dashboard/storefront/customers/page.tsx
index ab48278..8d725d8 100644
--- a/app/dashboard/storefront/customers/page.tsx
+++ b/app/dashboard/storefront/customers/page.tsx
@@ -138,8 +138,8 @@ export default function CustomerManagementPage() {
-
-
+
+
Show:
@@ -164,22 +164,22 @@ export default function CustomerManagementPage() {
{loading ? (
-
+
) : customers.length === 0 ? (
-
-
-
No customers found
-
+
+
+
No customers found
+
Once you have customers placing orders, they will appear here.
) : (
-
-
-
+
+
+
Customer
Status
-
+
{customers.map((customer) => (
setSelectedCustomer(customer)}
>
@@ -214,7 +214,7 @@ export default function CustomerManagementPage() {
ID: {customer.telegramUserId}
- {customer.totalOrders}
+ {customer.totalOrders}
{formatCurrency(customer.totalSpent)}
@@ -239,7 +239,7 @@ export default function CustomerManagementPage() {
)}
-
+
Page {page} of {totalPages}
@@ -247,6 +247,7 @@ export default function CustomerManagementPage() {