From 8592cd09d6e5386a00f03a5308d6841558aa0408 Mon Sep 17 00:00:00 2001
From: crazywoola
Date: Fri, 19 May 2023 15:31:10 +0800
Subject: [PATCH] feat: add default icon
---
web/app/components/base/app-icon/index.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/app/components/base/app-icon/index.tsx b/web/app/components/base/app-icon/index.tsx
index 145c1c5f41..e196577bf7 100644
--- a/web/app/components/base/app-icon/index.tsx
+++ b/web/app/components/base/app-icon/index.tsx
@@ -34,7 +34,7 @@ const AppIcon: FC = ({
}}
onClick={onClick}
>
- {innerIcon ? innerIcon : icon && }
+ {innerIcon ? innerIcon : icon && icon !== '' ? : }
)
}