Link choose device label with input

This commit is contained in:
Josh Perez 2023-05-01 13:13:58 -04:00 committed by GitHub
parent 78def99f68
commit a1c7634f23
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,12 +56,15 @@ export function InstallScreenChoosingDeviceNameStep({
<div className="module-InstallScreenChoosingDeviceNameStep__contents">
<div className="module-InstallScreenChoosingDeviceNameStep__header">
<h1>{i18n('icu:chooseDeviceName')}</h1>
<label htmlFor="deviceName">
<h1>{i18n('icu:chooseDeviceName')}</h1>
</label>
<h2>{i18n('icu:Install__choose-device-name__description')}</h2>
</div>
<div className="module-InstallScreenChoosingDeviceNameStep__inputs">
<input
className="module-InstallScreenChoosingDeviceNameStep__input"
id="deviceName"
maxLength={MAX_DEVICE_NAME_LENGTH}
onChange={event => {
setDeviceName(event.target.value);