feat: add disabled prop to DevicesToPay component and update button state management ✨
This commit is contained in:
@@ -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}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user