UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.
fix: adding use-client to the dock-demos
Arghya Dasbc7808d78895
diff --git a/registry/default/example/dock-demo-2.tsx b/registry/default/example/dock-demo-2.tsxindex 9c57e1e7..fbb3a5c8 100644--- a/registry/default/example/dock-demo-2.tsx+++ b/registry/default/example/dock-demo-2.tsx@@ -1,3 +1,5 @@+"use client";+import React from "react";import { Dock, DockIcon } from "@/registry/default/magicui/dock";diff --git a/registry/default/example/dock-demo-3.tsx b/registry/default/example/dock-demo-3.tsxindex 34b2a377..70fc7ca0 100644--- a/registry/default/example/dock-demo-3.tsx+++ b/registry/default/example/dock-demo-3.tsx@@ -1,3 +1,5 @@+"use client";+import React from "react";import { Dock, DockIcon } from "@/registry/default/magicui/dock";diff --git a/registry/default/example/dock-demo.tsx b/registry/default/example/dock-demo.tsxindex cff6c702..609cedd7 100644--- a/registry/default/example/dock-demo.tsx+++ b/registry/default/example/dock-demo.tsx@@ -1,3 +1,5 @@+"use client";+import { CalendarIcon, HomeIcon, MailIcon, PencilIcon } from "lucide-react";import Link from "next/link";import React from "react";