feat: add loading state and full-page loader component; update payment page and application layout to improve user experience
This commit is contained in:
@@ -39,7 +39,9 @@ export default async function PaymentPage({
|
||||
>
|
||||
{payment?.paid ? "Paid" : "Pending"}
|
||||
</Button>
|
||||
<CancelPaymentButton paymentId={paymentId} />
|
||||
{!payment.paid && (
|
||||
<CancelPaymentButton paymentId={paymentId} />
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user