Skip to content

Commit 289a1e3

Browse files
authored
fix: improve validation error display (#3792)
1 parent 7d5a215 commit 289a1e3

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/app/views/query-runner/query-input/auto-complete/AutoComplete.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@ const useStyles = makeStyles({
4343
},
4444
noResize: {
4545
resize: 'none'
46-
},
47-
errorText: {
48-
color: 'red'
4946
}
5047
});
5148

@@ -359,7 +356,7 @@ function AutoComplete(props: IAutoCompleteProps) {
359356
)}
360357

361358
{descriptionError && !shouldShowSuggestions && !autoCompletePending && (
362-
<Text size={200} className={classes.errorText}>
359+
<Text size={200}>
363360
{descriptionError}
364361
</Text>
365362
)}

0 commit comments

Comments
 (0)