You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by yj...@apache.org on 2022/08/30 16:56:16 UTC
[superset] branch master updated: chore: missing IconType on Icons (#21218)
This is an automated email from the ASF dual-hosted git repository.
yjc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new 1aa1864d13 chore: missing IconType on Icons (#21218)
1aa1864d13 is described below
commit 1aa1864d13fd48d77a07f1f02175652a62dcd8ee
Author: JUST.in DO IT <ju...@airbnb.com>
AuthorDate: Tue Aug 30 09:56:05 2022 -0700
chore: missing IconType on Icons (#21218)
---
superset-frontend/src/components/Icons/index.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/superset-frontend/src/components/Icons/index.tsx b/superset-frontend/src/components/Icons/index.tsx
index 0761890e4c..29ccb1dd36 100644
--- a/superset-frontend/src/components/Icons/index.tsx
+++ b/superset-frontend/src/components/Icons/index.tsx
@@ -166,7 +166,7 @@ const IconFileNames = [
'redo',
];
-const iconOverrides: Record<string, React.FC> = {};
+const iconOverrides: Record<string, React.FC<IconType>> = {};
IconFileNames.forEach(fileName => {
const keyName = _.startCase(fileName).replace(/ /g, '');
iconOverrides[keyName] = (props: IconType) => (