Skip to content

Commit dbd9e32

Browse files
joshblackjonrohan
andauthored
Update packages/react/src/internal/components/InputLabel.tsx
Co-authored-by: Jon Rohan <[email protected]>
1 parent 56d9da2 commit dbd9e32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react/src/internal/components/InputLabel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ function InputLabel({
5252
>
5353
{required || requiredText ? (
5454
<StyledRequiredText>
55-
<div>{children}</div>
55+
<span>{children}</span>
5656
<span aria-hidden={requiredIndicator ? undefined : true}>{requiredText ?? '*'}</span>
5757
</StyledRequiredText>
5858
) : (

0 commit comments

Comments
 (0)