Skip to content

Commit

Permalink
fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
vassbence committed Jul 12, 2024
1 parent 92b41ee commit 5061abc
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions src/components/TextInput/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -169,12 +169,16 @@ function TextInput({
)}
</div>
{error && (
<div style={{ display: 'flex', alignItems: 'center', gap: 4 }}>
<Icon
style={{ color: color('destructive-100') }}
variant="error-filled"
/>
<Text color="destructive-100" variant="display-medium">
<div
style={{
display: 'flex',
alignItems: 'center',
gap: 4,
color: color('destructive-100'),
}}
>
<Icon variant="error-filled" />
<Text color="inherit" variant="display-medium">
{error}
</Text>
</div>
Expand Down

0 comments on commit 5061abc

Please sign in to comment.