fixed input field id
Some checks failed
Runs E2E API Tests / build (20.x) (push) Has been cancelled
Runs E2E API Tests / build (22.6) (push) Has been cancelled
Lint & build / lint_and_build (20.x) (push) Has been cancelled
Lint & build / lint_and_build (22.6) (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled

This commit is contained in:
Zai Shi 2024-09-06 17:11:01 -07:00
parent f900114920
commit d7cfa42695

View File

@ -54,10 +54,9 @@ export function TeamCreation(props: { fullPage?: boolean }) {
onSubmit={e => runAsynchronously(handleSubmit(onSubmit)(e))}
noValidate
>
<Label htmlFor="email" className="mb-1">Display name</Label>
<Label htmlFor="display-name" className="mb-1">Display name</Label>
<Input
id="email"
type="email"
id="display-name"
{...register('displayName')}
/>
<FormWarningText text={errors.displayName?.message?.toString()} />