feat: add disabled prop to DevicesToPay component and update button state management
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 5m36s

This commit is contained in:
2025-07-06 23:19:12 +05:00
parent 3ac57a9c07
commit 9f9f2e4e91
2 changed files with 4 additions and 2 deletions

View File

@ -62,6 +62,7 @@ export default async function PaymentPage({
className="pb-4 gap-4 flex sm:flex-row flex-col items-start justify-start"
>
<DevicesToPay
disabled={payment.paid || payment.is_expired}
user={userProfile || undefined}
payment={payment || undefined}
/>