diff --git a/src/utils/icons.ts b/src/utils/icons.ts index e976d01b..3b88d96b 100644 --- a/src/utils/icons.ts +++ b/src/utils/icons.ts @@ -108,9 +108,9 @@ export default { export function SvgToSolid(svg: string, name: string, snippet: boolean) { let code = ` -export function ${name}(props: JSX.IntrinsicElements['svg'], key: string) { +export function ${name}(props: JSX.IntrinsicElements['svg']) { return ( - ${ClearSvg(svg, false).replace(//, '')} + ${svg.replace(//, '')} ) }`