Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix svg esm
Browse files Browse the repository at this point in the history
MosheZemah committed Dec 16, 2024
1 parent 9e3c72d commit f296c4d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -56,7 +56,7 @@ const CustomSvgIcon: FunctionComponent<CustomSvgIconProps> = ({
if (typeof src !== "string") return null;

// eslint-disable-next-line @typescript-eslint/no-explicit-any
const SVGComponent = (SVG.default || SVG) as React.FC<any>;
const SVGComponent = (SVG.default || SVG) as React.FC<any>; // fix esm issue

const PlaceHolder = <div className={className} id={id}></div>;

0 comments on commit f296c4d

Please sign in to comment.