From 1b129979faf06dca978e489d1ff95d60be75eb0d Mon Sep 17 00:00:00 2001
From: isra el
Date: Mon, 24 Feb 2025 01:44:14 +0300
Subject: [PATCH] fix(web): fix typo in my account page
---
web/app/(app)/dashboard/(components)/account-settings.tsx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/web/app/(app)/dashboard/(components)/account-settings.tsx b/web/app/(app)/dashboard/(components)/account-settings.tsx
index 1166d50..fcc26e4 100644
--- a/web/app/(app)/dashboard/(components)/account-settings.tsx
+++ b/web/app/(app)/dashboard/(components)/account-settings.tsx
@@ -256,10 +256,10 @@ export default function AccountSettings() {
Next Payment
- {currentSubscription?.nextPaymentDate
+ {currentSubscription?.currentPeriodEnd
? new Date(
- currentSubscription?.nextPaymentDate
- ).toLocaleDateString()
+ currentSubscription?.currentPeriodEnd
+ ).toISOString()
: '-:-'}