Skip to content

Commit

Permalink
fix: label
Browse files Browse the repository at this point in the history
  • Loading branch information
juliankoehn committed Feb 13, 2025
1 parent f2526af commit ecdce06
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/slices/ContactForm/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,7 @@ function Field({ field }: FieldProps) {

return (
<div className="grid gap-2">
<Label htmlFor={id} className="font-semibold">
{field.label}
</Label>
<Label htmlFor={id}>{field.label}</Label>
{field.type === "Textarea" ? (
<Textarea name={name} id={id} placeholder={placeholder} />
) : (
Expand Down

0 comments on commit ecdce06

Please sign in to comment.