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:
parent
9c4c8f1cf7
commit
63d1e82c80
1 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
import { Infinity } from "lucide-react";
|
import { InfinityIcon } from "lucide-react";
|
||||||
import { forwardRef } from "react";
|
import { forwardRef } from "react";
|
||||||
|
|
||||||
const GradientSparkles = forwardRef<SVGSVGElement, React.PropsWithChildren<{}>>(
|
const GradientSparkles = forwardRef<SVGSVGElement, React.PropsWithChildren<{}>>(
|
||||||
|
|
@ -13,7 +13,7 @@ const GradientSparkles = forwardRef<SVGSVGElement, React.PropsWithChildren<{}>>(
|
||||||
</linearGradient>
|
</linearGradient>
|
||||||
</defs>
|
</defs>
|
||||||
</svg>
|
</svg>
|
||||||
<Infinity stroke="url(#grad1)" ref={ref} {...props} />
|
<InfinityIcon stroke="url(#grad1)" ref={ref} {...props} />
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue