Skip to content

Commit fc0684c

Browse files
authored
Merge pull request #252 from AMTuttle02/prod
Sync branches
2 parents dae54f7 + 3e508fe commit fc0684c

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

react/src/CheckoutDetails.jsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ function CheckoutDetails() {
88
const [order, setOrder] = useState([]);
99
const [email, setEmail] = useState("");
1010
const [shipping, setShipping] = useState(0);
11-
const [paying, setPaying] = useState(1);
11+
const [paying, setPaying] = useState(0);
1212
const [location, setLocation] = useState("");
1313
const [address, setAddress] = useState("");
1414
const [city, setCity] = useState("");
@@ -401,9 +401,10 @@ function CheckoutDetails() {
401401
<input type="text" id="adr" name="address" placeholder="Iberia Dollar General" onChange={(event) => setLocation(event.target.value)}/>
402402
{notCustomOrder ?
403403
<div className="row">
404+
<p className="red">Pay Now is currently disabled due to an unresolved error.</p>
404405
<div className="split50Center">
405-
<label>
406-
<input type="radio" checked={paying === 1} onChange={() => setPaying(1)}/> Pay Now
406+
<label className="grayOut">
407+
<input type="radio" checked={paying === 1} onChange={() => setPaying(0)}/> Pay Now
407408
</label>
408409
</div>
409410
<div className="split50Center">

react/src/index.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1456,6 +1456,10 @@ footer {
14561456
width: 15%;
14571457
}
14581458

1459+
.grayOut {
1460+
color: gray;
1461+
}
1462+
14591463
/* Responsive layout - when the screen is less than 1199px wide */
14601464
@media screen and (max-width: 1199px) {
14611465
.coupon-table th,

0 commit comments

Comments
 (0)