Skip to content

Commit 0b1b19d

Browse files
committed
fixes type error
1 parent 73737a0 commit 0b1b19d

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/_TextInputWrapper.tsx

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -196,14 +196,7 @@ const TextInputWrapper = styled(TextInputBaseWrapper)<StyledWrapperProps>`
196196
props.validationStatus === 'warning' &&
197197
css`
198198
border-color: ${get('colors.attention.emphasis')};
199-
${renderFocusStyles(
200-
Boolean(props.hasTrailingAction),
201-
Boolean(props.isInputFocused),
202-
css`
203-
border-color: ${get('colors.attention.emphasis')};
204-
box-shadow: 0 0 0 3px ${get('colors.attention.muted')};
205-
`
206-
)}
199+
${renderFocusStyles(Boolean(props.hasTrailingAction), Boolean(props.isInputFocused))}
207200
`}
208201
209202
${sx};

0 commit comments

Comments
 (0)