From 46d73037fa3c93d4bf38a7295b727cdb5ba37803 Mon Sep 17 00:00:00 2001 From: Simon Farshid Date: Tue, 2 Jul 2024 13:22:22 -0700 Subject: [PATCH] fix: add new depedencies for thread to registry (#377) --- packages/shadcn-registry/registry/assistant-ui/full/thread.tsx | 2 +- packages/shadcn-registry/registry/assistant-ui/thread.tsx | 2 +- packages/shadcn-registry/registry/registry.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/shadcn-registry/registry/assistant-ui/full/thread.tsx b/packages/shadcn-registry/registry/assistant-ui/full/thread.tsx index 49b43a4ac..ee6afd3bf 100644 --- a/packages/shadcn-registry/registry/assistant-ui/full/thread.tsx +++ b/packages/shadcn-registry/registry/assistant-ui/full/thread.tsx @@ -16,9 +16,9 @@ import { Tooltip, TooltipContent, TooltipTrigger, + TooltipProvider, } from "@/components/ui/tooltip"; import { cn } from "@/lib/utils"; -import { TooltipProvider } from "@radix-ui/react-tooltip"; import { ArrowDownIcon, CheckIcon, diff --git a/packages/shadcn-registry/registry/assistant-ui/thread.tsx b/packages/shadcn-registry/registry/assistant-ui/thread.tsx index 1b6d99978..c1f92c54c 100644 --- a/packages/shadcn-registry/registry/assistant-ui/thread.tsx +++ b/packages/shadcn-registry/registry/assistant-ui/thread.tsx @@ -13,9 +13,9 @@ import { Tooltip, TooltipContent, TooltipTrigger, + TooltipProvider, } from "@/components/ui/tooltip"; import { cn } from "@/lib/utils"; -import { TooltipProvider } from "@radix-ui/react-tooltip"; import { SendHorizonalIcon } from "lucide-react"; export const Thread: FC = () => { diff --git a/packages/shadcn-registry/registry/registry.ts b/packages/shadcn-registry/registry/registry.ts index 7f3336b2a..422272571 100644 --- a/packages/shadcn-registry/registry/registry.ts +++ b/packages/shadcn-registry/registry/registry.ts @@ -19,7 +19,7 @@ export const registry: RegistryIndex = [ name: "thread", type: "components:ui", files: ["assistant-ui/thread.tsx"], - registryDependencies: ["avatar"], + registryDependencies: ["avatar", "button", "tooltip"], dependencies: ["@assistant-ui/react", "lucide-react"], }, {