UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.
fix: lint
Dillion Vermacfc198863a32
diff --git a/registry/components/magicui/particles.tsx b/registry/components/magicui/particles.tsxindex 108e3e7f..d08df375 100644--- a/registry/components/magicui/particles.tsx+++ b/registry/components/magicui/particles.tsx@@ -42,8 +42,11 @@ interface ParticlesProps {function hexToRgb(hex: string): number[] {hex = hex.replace("#", "");- if(hex.length === 3) {- hex = hex.split("").map((char) => char + char).join("");+ if (hex.length === 3) {+ hex = hex+ .split("")+ .map((char) => char + char)+ .join("");}const hexInt = parseInt(hex, 16);