Skip to content

Commit

Permalink
fix: add new depedencies for thread to registry (#377)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yonom authored Jul 2, 2024
1 parent 4d13a90 commit 46d7303
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion packages/shadcn-registry/registry/assistant-ui/thread.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 = () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/shadcn-registry/registry/registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
},
{
Expand Down

0 comments on commit 46d7303

Please sign in to comment.