Skip to content

Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.

fix(ui): mark Button as a client component (#1063)

Raghav Chamadiya733f8a7dcb0c
diff --git a/packages/ui/src/ui/button.tsx b/packages/ui/src/ui/button.tsx
index e01f8614b..bcedd6771 100644
--- a/packages/ui/src/ui/button.tsx
+++ b/packages/ui/src/ui/button.tsx
@@ -1,3 +1,5 @@
+"use client";
+
import * as React from "react";
import { Slot } from "@radix-ui/react-slot";
import { cva, type VariantProps } from "class-variance-authority";