Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrpospiech committed Feb 22, 2024
1 parent 0abff32 commit 02d0e22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/uniforms/__tests__/connectField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ describe('connectField', () => {
) => {
return props.children ? (
<>
{props.label ? (
{props.label && (
<label htmlFor={props.id} data-testid="label">
{props.label}
</label>
) : null}
)}
<input
data-testid="field"
{...filterDOMProps(omit(props, 'children', 'label'))}
Expand Down

0 comments on commit 02d0e22

Please sign in to comment.