From d12ddaa51136639285610ebb1497fcacfcc343b0 Mon Sep 17 00:00:00 2001 From: HichemTech Date: Mon, 3 Mar 2025 13:24:53 +0100 Subject: [PATCH] Add dependency to badge registry entry Added @radix-ui/react-slot as a dependency for the badge component in the registry. This ensures proper functionality and resolves potential missing dependency issues. - Updated the "badge" registry entry by including "@radix-ui/react-slot" in its dependencies list. - Fixed the missing newline at the end of the file for better formatting. --- apps/v4/registry.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/v4/registry.json b/apps/v4/registry.json index bb978e786e..ed0c1e0749 100644 --- a/apps/v4/registry.json +++ b/apps/v4/registry.json @@ -121,6 +121,9 @@ { "name": "badge", "type": "registry:ui", + "dependencies": [ + "@radix-ui/react-slot" + ], "files": [ { "path": "registry/new-york-v4/ui/badge.tsx", @@ -2751,4 +2754,4 @@ ] } ] -} \ No newline at end of file +}