Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

fix: update scroll progress

Dillion Verma79295b2792b4
diff --git a/registry/default/magicui/scroll-progress.tsx b/registry/default/magicui/scroll-progress.tsx
index 2a24d632..0bc2f0e0 100644
--- a/registry/default/magicui/scroll-progress.tsx
+++ b/registry/default/magicui/scroll-progress.tsx
@@ -1,3 +1,5 @@
+"use client";
+
import { cn } from "@/lib/utils";
import { motion, useScroll, useSpring } from "framer-motion";