Skip to content

Commit 7952e16

Browse files
committed
typo
1 parent 4d428cf commit 7952e16

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Chapter7/controlled-fields/src/ContactPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export function ContactPage() {
4444
/>
4545
</div>
4646
<div className={fieldStyle}>
47-
<label htmlFor="reaon">Reason you need to contact us</label>
47+
<label htmlFor="reason">Reason you need to contact us</label>
4848
<select
4949
id="reason"
5050
value={contact.reason}

Chapter7/native-validation/src/ContactPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export function ContactPage() {
2424
<input type="email" id="email" name="email" required pattern="\S+@\S+\.\S+" />
2525
</div>
2626
<div className={fieldStyle}>
27-
<label htmlFor="reaon">Reason you need to contact us</label>
27+
<label htmlFor="reason">Reason you need to contact us</label>
2828
<select id="reason" name="reason" required>
2929
<option value=""></option>
3030
<option value="Support">Support</option>

Chapter7/react-router-form/src/ContactPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export function ContactPage() {
2424
<input type="email" id="email" name="email" />
2525
</div>
2626
<div className={fieldStyle}>
27-
<label htmlFor="reaon">Reason you need to contact us</label>
27+
<label htmlFor="reason">Reason you need to contact us</label>
2828
<select id="reason" name="reason">
2929
<option value=""></option>
3030
<option value="Support">Support</option>

Chapter7/uncontrolled-fields/src/ContactPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export function ContactPage() {
3636
<input type="email" id="email" name="email" />
3737
</div>
3838
<div className={fieldStyle}>
39-
<label htmlFor="reaon">Reason you need to contact us</label>
39+
<label htmlFor="reason">Reason you need to contact us</label>
4040
<select id="reason" name="reason">
4141
<option value=""></option>
4242
<option value="Support">Support</option>

0 commit comments

Comments
 (0)