Skip to content

Commit

Permalink
validationmessage is default danger
Browse files Browse the repository at this point in the history
  • Loading branch information
mimarz committed Dec 13, 2024
1 parent b81a259 commit 4c51a36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/components/Field/FieldCounter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export const FieldCounter = forwardRef<HTMLParagraphElement, FieldCounterProps>(
{hasExceededLimit && label(over, remainder)}
</div>
{hasExceededLimit ? (
<ValidationMessage ref={ref} {...rest} data-color='danger'>
<ValidationMessage ref={ref} {...rest}>
{label(over, remainder)}
</ValidationMessage>
) : (
Expand Down

0 comments on commit 4c51a36

Please sign in to comment.