mirror of
https://github.com/apache/superset.git
synced 2026-04-18 23:55:00 +00:00
fix: error alerts again (#17026)
This commit is contained in:
@@ -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} />
|
||||
)}
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user