Skip to content

Commit 455071b

Browse files
committed
chore(fileinput): copilot feedback
1 parent e3f7234 commit 455071b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/utah-design-system/src/components/FileInput.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,12 +218,12 @@ export function FileInput({
218218

219219
return (
220220
<div className={twMerge('flex flex-col gap-1', className)}>
221-
{/* We wrap the file trigger in a label to make sure that the label is associated with it's hidden input for a11y */}
221+
{/* We wrap the file trigger in a label to make sure that the label is associated with its hidden input for a11y */}
222222
<Label className="flex flex-col gap-1">
223223
{label && (
224-
<p className={labelStyles({ isRequired: Boolean(isRequired) })}>
224+
<span className={labelStyles({ isRequired: Boolean(isRequired) })}>
225225
{label}
226-
</p>
226+
</span>
227227
)}
228228
{description && (
229229
<Description className="font-normal">{description}</Description>

0 commit comments

Comments
 (0)