Skip to content

Commit

Permalink
chore: missing IconType on Icons (#21218)
Browse files Browse the repository at this point in the history
  • Loading branch information
justinpark committed Aug 30, 2022
1 parent ad6b98c commit 1aa1864
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset-frontend/src/components/Icons/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) => (
Expand Down

0 comments on commit 1aa1864

Please sign in to comment.