diff --git a/src/components/ui/icon/icon.tsx b/src/components/ui/icon/icon.tsx index a07b2bb08..eaa4e9f0a 100644 --- a/src/components/ui/icon/icon.tsx +++ b/src/components/ui/icon/icon.tsx @@ -24,7 +24,7 @@ interface IIcon extends Pick, 'strokeWidth'> { } /** Renders an SVG or image icon with optional counter. */ -const Icon: React.FC = ({ src, alt, count, size, countMax, element, ...filteredProps }): JSX.Element => { +const Icon: React.FC = ({ src, alt, count, size, countMax, element = 'svg', ...filteredProps }): JSX.Element => { return (