aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhatsu <hajiwata0308@gmail.com>2021-07-27 00:30:21 +0900
committerGitHub <noreply@github.com>2021-07-26 08:30:21 -0700
commita342ad15e763c6cf9ed03db2b8b1679400d0484c (patch)
treee071f3594d17c15fdd06eae5037241a4b2153235
parent3a3f950daaaf23a45b34cb57120fc4dc1ba6860b (diff)
label attribute for->htmlFor (#97)
-rw-r--r--src/components/Card.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/components/Card.js b/src/components/Card.js
index bcb7acc..ab0ec3f 100644
--- a/src/components/Card.js
+++ b/src/components/Card.js
@@ -143,7 +143,7 @@ export const Card = ({ direction = 'ltr' }) => {
143 } 143 }
144 /> 144 />
145 <label 145 <label
146 for="hide-password-checkbox" 146 htmlFor="hide-password-checkbox"
147 className={network.encryptionMode === 'nopass' ? 'hidden' : ''} 147 className={network.encryptionMode === 'nopass' ? 'hidden' : ''}
148 > 148 >
149 {t('wifi.password.hide')} 149 {t('wifi.password.hide')}
@@ -165,7 +165,7 @@ export const Card = ({ direction = 'ltr' }) => {
165 }); 165 });
166 }} 166 }}
167 /> 167 />
168 <label for="encrypt-none">None</label> 168 <label htmlFor="encrypt-none">None</label>
169 <input 169 <input
170 type="radio" 170 type="radio"
171 name="encrypt-select" 171 name="encrypt-select"
@@ -176,7 +176,7 @@ export const Card = ({ direction = 'ltr' }) => {
176 } 176 }
177 defaultChecked 177 defaultChecked
178 /> 178 />
179 <label for="encrypt-wpa-wpa2-wpa3">WPA/WPA2/WPA3</label> 179 <label htmlFor="encrypt-wpa-wpa2-wpa3">WPA/WPA2/WPA3</label>
180 <input 180 <input
181 type="radio" 181 type="radio"
182 name="encrypt-select" 182 name="encrypt-select"
@@ -186,7 +186,7 @@ export const Card = ({ direction = 'ltr' }) => {
186 setNetwork({ ...network, encryptionMode: e.target.value }) 186 setNetwork({ ...network, encryptionMode: e.target.value })
187 } 187 }
188 /> 188 />
189 <label for="encrypt-wep">WEP</label> 189 <label htmlFor="encrypt-wep">WEP</label>
190 </div> 190 </div>
191 </div> 191 </div>
192 </div> 192 </div>