From e9bec18edf6a4945780fb008c8068bee00e8037f Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sat, 28 Nov 2026 16:31:56 -0600 Subject: [PATCH] Drop redundant @radix-ui/react-toast and unhead dependencies Toast comes from the unified radix-ui package like every other primitive, and unhead is a dependency of @unhead/react, which is all the app imports. --- package-lock.json | 2 -- package.json | 2 -- src/components/ui/toast.tsx | 2 +- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1084f23..8fe7ed6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,6 @@ "@daypicker/react": "^10.0.2", "@nostrify/nostrify": "^0.55.1", "@nostrify/react": "^0.6.8", - "@radix-ui/react-toast": "^1.3.1", "@tanstack/react-query": "^5.108.4", "@unhead/react": "^3.5.4", "buffer": "^6.0.3", @@ -32,7 +31,6 @@ "recharts": "^3.11.2", "tailwind-merge": "^3.7.1", "tw-animate-css": "^1.4.0", - "unhead": "^3.5.4", "vaul": "^1.1.2", "zod": "^4.6.7" }, diff --git a/package.json b/package.json index 5374f69..d09b3e5 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,6 @@ "@daypicker/react": "^10.0.2", "@nostrify/nostrify": "^0.55.1", "@nostrify/react": "^0.6.8", - "@radix-ui/react-toast": "^1.3.1", "@tanstack/react-query": "^5.108.4", "@unhead/react": "^3.5.4", "buffer": "^6.0.3", @@ -33,7 +32,6 @@ "recharts": "^3.11.2", "tailwind-merge": "^3.7.1", "tw-animate-css": "^1.4.0", - "unhead": "^3.5.4", "vaul": "^1.1.2", "zod": "^4.6.7" }, diff --git a/src/components/ui/toast.tsx b/src/components/ui/toast.tsx index 3610978..694d529 100644 --- a/src/components/ui/toast.tsx +++ b/src/components/ui/toast.tsx @@ -1,5 +1,5 @@ import * as React from "react" -import * as ToastPrimitives from "@radix-ui/react-toast" +import { Toast as ToastPrimitives } from "radix-ui" import { type VariantProps } from "class-variance-authority" import { X } from "lucide-react"