Skip to content

Commit

Permalink
fix ts
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekAgility committed Dec 17, 2024
1 parent 98b80b6 commit ae13f38
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stories/atoms/icons/TablerIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ const TablerIcon: React.FC<ITablerIconProps> = ({
icon,
className = "w-6 h-6 text-gray-600"
}: ITablerIconProps): JSX.Element => {
const Icon = TablerIcons[icon as keyof typeof TablerIcons];
//@ts-ignore
const Icon = TablerIcons[icon];
return (
<i>
<Icon className={className} />
Expand Down

0 comments on commit ae13f38

Please sign in to comment.