UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.
🐛 fix: add number ticker fix
Dillion Vermaa9baf072cbba
diff --git a/registry/components/magicui/number-ticker.tsx b/registry/components/magicui/number-ticker.tsxindex dbfb2911..0ee66b48 100644--- a/registry/components/magicui/number-ticker.tsx+++ b/registry/components/magicui/number-ticker.tsx@@ -27,7 +27,7 @@ export default function NumberTicker({setTimeout(() => {motionValue.set(direction === "down" ? 0 : value);}, delay * 1000);- }, [motionValue, isInView, delay, value]);+ }, [motionValue, isInView, delay, value, direction]);useEffect(() =>