You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2025/03/26 03:29:11 UTC

(superset) 02/03: fix test for BasicErrorAlert.tsx

This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch template_less
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 5418f09864c8beacf9cd0aab78a8bee0e9fce8f2
Author: Maxime Beauchemin <ma...@gmail.com>
AuthorDate: Tue Mar 25 20:24:56 2025 -0700

    fix test for BasicErrorAlert.tsx
---
 superset-frontend/src/components/ErrorMessage/BasicErrorAlert.tsx | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/superset-frontend/src/components/ErrorMessage/BasicErrorAlert.tsx b/superset-frontend/src/components/ErrorMessage/BasicErrorAlert.tsx
index 26f147bb73..1129683b75 100644
--- a/superset-frontend/src/components/ErrorMessage/BasicErrorAlert.tsx
+++ b/superset-frontend/src/components/ErrorMessage/BasicErrorAlert.tsx
@@ -57,11 +57,7 @@ export default function BasicErrorAlert({
 
   return (
     <div style={style} role="alert">
-      {level === 'error' ? (
-        <Icons.ErrorSolid iconColor={variants.text} />
-      ) : (
-        <Icons.WarningSolid iconColor={variants.text} />
-      )}
+      <Icons.ExclamationCircleFilled iconColor={variants.text} />
       <StyledContent>
         <StyledTitle>{title}</StyledTitle>
         <p>{body}</p>