Skip to content

Commit 1ff2f3c

Browse files
author
Ricardo Quiñones
committed
Fixes the hint rendering
1 parent 92889ef commit 1ff2f3c

File tree

1 file changed

+10
-10
lines changed
  • packages/core-react/src/components/TextField

1 file changed

+10
-10
lines changed

packages/core-react/src/components/TextField/index.js

+10-10
Original file line numberDiff line numberDiff line change
@@ -111,16 +111,16 @@ export default function TextField({
111111
</div>
112112
</div>
113113
</div>
114-
</div>
115-
<div
116-
className={clsx(
117-
'ray-form-item__hint',
118-
{ 'ray-form-item__hint': hint },
119-
{ 'ray-form-item__hint--success': hintSuccess },
120-
{ 'ray-form-item__hint--error': hintError }
121-
)}
122-
>
123-
{hint || (hintSuccess || hintError)}
114+
<div
115+
className={clsx(
116+
'ray-form-item__hint',
117+
{ 'ray-form-item__hint': hint },
118+
{ 'ray-form-item__hint--success': hintSuccess },
119+
{ 'ray-form-item__hint--error': hintError }
120+
)}
121+
>
122+
{hint || (hintSuccess || hintError)}
123+
</div>
124124
</div>
125125
</div>
126126
);

0 commit comments

Comments
 (0)