Skip to content

Commit 1b12997

Browse files
committed
fix(web): fix typo in my account page
1 parent da6c183 commit 1b12997

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

web/app/(app)/dashboard/(components)/account-settings.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -256,10 +256,10 @@ export default function AccountSettings() {
256256
Next Payment
257257
</p>
258258
<p className='text-sm font-medium text-gray-900 dark:text-white'>
259-
{currentSubscription?.nextPaymentDate
259+
{currentSubscription?.currentPeriodEnd
260260
? new Date(
261-
currentSubscription?.nextPaymentDate
262-
).toLocaleDateString()
261+
currentSubscription?.currentPeriodEnd
262+
).toISOString()
263263
: '-:-'}
264264
</p>
265265
</div>

0 commit comments

Comments
 (0)