Remove invalid attribute (#31848)

This commit is contained in:
Alex Khomenko 2021-03-10 10:24:14 +02:00 committed by GitHub
parent ac263f50d6
commit 598a44076a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,7 +71,7 @@ export const UserInviteForm: FC<Props> = ({ updateLocation }) => {
<Field invalid={!!errors.role} label="Role">
<InputControl as={RadioButtonGroup} control={control} options={roles} name="role" />
</Field>
<Field invalid={!!errors.sendEmail} label="Send invite email">
<Field label="Send invite email">
<Switch name="sendEmail" ref={register} />
</Field>
<HorizontalGroup>