Skip to content

Commit 604cf3a

Browse files
Fixed white text on dark mode on Checkout page (wasp-lang#37)
1 parent 79dc6a6 commit 604cf3a

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

app/src/client/app/CheckoutPage.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff 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!'

0 commit comments

Comments
 (0)