Skip to content

Commit

Permalink
fix: error alerts again (#17026)
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Ritter committed Oct 7, 2021
1 parent 03cdbac commit ea70038
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default function BasicErrorAlert({
return (
<StyledContainer level={level} role="alert">
{!level || level === 'error' ? (
<Icons.ErrorSolid iconColor={theme.colors[level].base} />
<Icons.ErrorSolid iconColor={theme.colors.error.base} />
) : (
<Icons.WarningSolid iconColor={theme.colors[level].base} />
)}
Expand Down
4 changes: 2 additions & 2 deletions superset-frontend/src/components/ErrorMessage/ErrorAlert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export default function ErrorAlert({
{!level || level === 'error' ? (
<Icons.ErrorSolid
className="icon"
iconColor={theme.colors[level].base}
iconColor={theme.colors.error.base}
/>
) : (
<Icons.WarningSolid
Expand Down Expand Up @@ -174,7 +174,7 @@ export default function ErrorAlert({
{!level || level === 'error' ? (
<Icons.ErrorSolid
className="icon"
iconColor={theme.colors[level].base}
iconColor={theme.colors.error.base}
/>
) : (
<Icons.WarningSolid
Expand Down

0 comments on commit ea70038

Please sign in to comment.