fix: 🐛 fixes Infinity icon crashing the frontend

There's an issue with the exported Infinity variable, InfinityIcon is an alias and fixes that
This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-09-14 09:36:34 -03:00
commit 63d1e82c80

View file

@ -1,4 +1,4 @@
import { Infinity } from "lucide-react";
import { InfinityIcon } from "lucide-react";
import { forwardRef } from "react";
const GradientSparkles = forwardRef<SVGSVGElement, React.PropsWithChildren<{}>>(
@ -13,7 +13,7 @@ const GradientSparkles = forwardRef<SVGSVGElement, React.PropsWithChildren<{}>>(
</linearGradient>
</defs>
</svg>
<Infinity stroke="url(#grad1)" ref={ref} {...props} />
<InfinityIcon stroke="url(#grad1)" ref={ref} {...props} />
</>
);
}