File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ export default function CheckoutPage() {
1515 }
1616
1717 const queryParams = new URLSearchParams ( location . search ) ;
18- const isSuccess = queryParams . get ( 'success' )
19- const isCanceled = queryParams . get ( 'canceled' )
18+ const isSuccess = queryParams . get ( 'success' ) ;
19+ const isCanceled = queryParams . get ( 'canceled' ) ;
2020
2121 if ( isCanceled ) {
2222 setPaymentStatus ( 'canceled' ) ;
@@ -31,12 +31,10 @@ export default function CheckoutPage() {
3131 } ;
3232 } , [ location ] ) ;
3333
34-
35-
3634 return (
3735 < div className = 'flex min-h-full flex-col justify-center mt-10 sm:px-6 lg:px-8' >
3836 < div className = 'sm:mx-auto sm:w-full sm:max-w-md' >
39- < div className = 'bg-white py-8 px-4 shadow-xl ring-1 ring-gray-900/10 sm:rounded-lg sm:px-10' >
37+ < div className = 'bg-white text-black py-8 px-4 shadow-xl ring-1 ring-gray-900/10 sm:rounded-lg sm:px-10' >
4038 < h1 >
4139 { paymentStatus === 'paid'
4240 ? '🥳 Payment Successful!'
You can’t perform that action at this time.
0 commit comments