mirror of
https://github.com/usebruno/bruno.git
synced 2026-07-09 06:55:03 +00:00
chore: pr #766 ux polish
This commit is contained in:
@@ -6,7 +6,7 @@ import StyledWrapper from './StyledWrapper';
|
||||
// Todo: text-error class is not getting pulled in for 500 errors
|
||||
const StatusCode = ({ status }) => {
|
||||
const getTabClassname = (status) => {
|
||||
return classnames('', {
|
||||
return classnames('ml-2', {
|
||||
'text-ok': status >= 100 && status < 200,
|
||||
'text-ok': status >= 200 && status < 300,
|
||||
'text-error': status >= 300 && status < 400,
|
||||
|
||||
Reference in New Issue
Block a user