From 2f8afc380ea19b05b055b18261e8917a390ee785 Mon Sep 17 00:00:00 2001 From: Khwezi Mngoma Date: Sun, 24 May 2026 11:29:49 +0200 Subject: [PATCH] Light refactor --- .../Components/Layout/MainLayout.razor | 7 -- .../Components/Pages/Profile.razor | 65 ------------------- 2 files changed, 72 deletions(-) diff --git a/MidrandBookshop/Components/Layout/MainLayout.razor b/MidrandBookshop/Components/Layout/MainLayout.razor index fde5e09..4b58446 100644 --- a/MidrandBookshop/Components/Layout/MainLayout.razor +++ b/MidrandBookshop/Components/Layout/MainLayout.razor @@ -165,13 +165,6 @@ } - @* - - - - - Log In - *@ diff --git a/MidrandBookshop/Components/Pages/Profile.razor b/MidrandBookshop/Components/Pages/Profile.razor index a6b1e5f..62ca532 100644 --- a/MidrandBookshop/Components/Pages/Profile.razor +++ b/MidrandBookshop/Components/Pages/Profile.razor @@ -83,71 +83,6 @@ } - @*
-
-
Order History
-
- -
- - - - - - - - - - - - - - @if (orderHistory != null) - { - @foreach (var order in orderHistory) - { - - - - - - - - - - } - } - else - { - - - - } - -
Order IDTitleDateAddressStatusTotalInvoice
@order.OrderId - - @order.DisplayTitle - - @order.OrderDate.ToString("MMM dd, yyyy") - - - - - @order.ShippingAddressName - - - - @order.Status - - R @order.Total.ToString("N2") - -
Loading order history...
-
-
*@