Skip to content

Commit

Permalink
Update Checkout.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
aelassas committed May 10, 2024
1 parent 729a393 commit 4b3d8f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/pages/Checkout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ const Checkout = () => {
<div className="booking-options">
<FormControl fullWidth margin="dense">
<FormControlLabel
disabled={property.cancellation === -1 || property.cancellation === 0}
disabled={property.cancellation === -1 || property.cancellation === 0 || !!clientSecret}
control={<Switch checked={cancellation} onChange={handleCancellationChange} color="primary" />}
label={(
<span>
Expand Down

0 comments on commit 4b3d8f8

Please sign in to comment.