summaryrefslogtreecommitdiff
path: root/apps/web/src/components/ui/breadcrumb.tsx
diff options
context:
space:
mode:
authorHyteq <DerpsDer.es@gmail.com>2025-06-23 09:06:42 +0300
committerHyteq <DerpsDer.es@gmail.com>2025-06-23 09:06:42 +0300
commit589f4a20a170c221203f7515622c38900e2efde4 (patch)
treed5108a909c976b598dc46d53fc6c6dbfd28e8068 /apps/web/src/components/ui/breadcrumb.tsx
parent79b8275bc0feef2aa32c95ca652d1160a3aeadbc (diff)
downloadopencut-589f4a20a170c221203f7515622c38900e2efde4.tar.gz
feat: migrated to latest radix to improve performance / tree-shaking
Diffstat (limited to 'apps/web/src/components/ui/breadcrumb.tsx')
-rw-r--r--apps/web/src/components/ui/breadcrumb.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/web/src/components/ui/breadcrumb.tsx b/apps/web/src/components/ui/breadcrumb.tsx
index 987b14df..d9df9bf5 100644
--- a/apps/web/src/components/ui/breadcrumb.tsx
+++ b/apps/web/src/components/ui/breadcrumb.tsx
@@ -1,5 +1,5 @@
import * as React from "react";
-import { Slot } from "@radix-ui/react-slot";
+import { Slot as SlotPrimitive } from "radix-ui";
import { ChevronRight, MoreHorizontal } from "lucide-react";
import { cn } from "../../lib/utils";
@@ -45,7 +45,7 @@ const BreadcrumbLink = React.forwardRef<
asChild?: boolean;
}
>(({ asChild, className, ...props }, ref) => {
- const Comp = asChild ? Slot : "a";
+ const Comp = asChild ? SlotPrimitive.Slot : "a";
return (
<Comp