Skip to content

Commit

Permalink
updated to use span instead
Browse files Browse the repository at this point in the history
  • Loading branch information
krischarbonneau committed Feb 3, 2023
1 parent 3c50d0a commit da0a45a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/InputLabel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ const InputLabel: FC<InputLabelProps> = ({
return (
<label id={id} htmlFor={htmlFor} className="mb-2 block font-bold">
{required && (
<b className="text-accent-error mr-0.5" aria-hidden="true">
*
</b>
<span className="text-accent-error" aria-hidden="true">
{'* '}
</span>
)}
{label}
{required && (
Expand Down

0 comments on commit da0a45a

Please sign in to comment.