Skip to content

Commit

Permalink
Fix DOM warning
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Turley <[email protected]>
  • Loading branch information
mturley committed Aug 16, 2024
1 parent aa93f60 commit cc023cd
Showing 1 changed file with 10 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,18 +222,16 @@ const RegistrationCommonFormSections: React.FC<RegistrationCommonFormSectionsPro
id="location-type-uri"
body={
modelLocationType === ModelLocationType.URI && (
<Form>
<FormGroup label="URI" isRequired fieldId="location-uri">
<TextInput
isRequired
type="text"
id="location-uri"
name="location-uri"
value={modelLocationURI}
onChange={(_e, value) => setData('modelLocationURI', value)}
/>
</FormGroup>
</Form>
<FormGroup label="URI" isRequired fieldId="location-uri">
<TextInput
isRequired
type="text"
id="location-uri"
name="location-uri"
value={modelLocationURI}
onChange={(_e, value) => setData('modelLocationURI', value)}
/>
</FormGroup>
)
}
/>
Expand Down

0 comments on commit cc023cd

Please sign in to comment.