From a20205fdeee467cd49f0a381e3cdc592d6250c09 Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Sun, 23 Mar 2025 18:17:05 -0600 Subject: [PATCH] refactor: simplify LicenseCard component by removing unused fields and improving layout --- .../app/[locale]/license/view/page.tsx | 35 ------------------- 1 file changed, 35 deletions(-) diff --git a/apps/website/app/[locale]/license/view/page.tsx b/apps/website/app/[locale]/license/view/page.tsx index 48c22f3..ea19245 100644 --- a/apps/website/app/[locale]/license/view/page.tsx +++ b/apps/website/app/[locale]/license/view/page.tsx @@ -16,26 +16,12 @@ const LicenseCard = ({ license, stripeSuscription }: any) => { License Information
-
-

- License ID -

-

{license.id}

-

License Key

{license.licenseKey}

-
-

- Activation Status -

-

- {license.activatedAt ? "Activated" : "Not Activated"} -

-

Server IPs @@ -70,18 +56,9 @@ const LicenseCard = ({ license, stripeSuscription }: any) => { {new Date(license.createdAt).toLocaleDateString()}

-
-

- Last Updated -

-

- {new Date(license.updatedAt).toLocaleDateString()} -

-
- {/* Subscription Information Section */}

@@ -89,12 +66,6 @@ const LicenseCard = ({ license, stripeSuscription }: any) => {

-
-

- Subscription ID -

-

{stripeSuscription.id}

-

Quantity @@ -111,12 +82,6 @@ const LicenseCard = ({ license, stripeSuscription }: any) => { {stripeSuscription.billingType}

-
-

- Stripe Customer ID -

-

{license.stripeCustomerId}

-