From eccf6a252281d5420570a336565c333b1d9546a3 Mon Sep 17 00:00:00 2001 From: shadcn Date: Thu, 5 Mar 2026 10:07:51 +0400 Subject: [PATCH] fix --- packages/shadcn/src/utils/updaters/update-fonts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/shadcn/src/utils/updaters/update-fonts.ts b/packages/shadcn/src/utils/updaters/update-fonts.ts index 1ec26cfe9d..4f448c3bdc 100644 --- a/packages/shadcn/src/utils/updaters/update-fonts.ts +++ b/packages/shadcn/src/utils/updaters/update-fonts.ts @@ -69,7 +69,7 @@ export async function massageTreeForFonts( tree.css ??= {} tree.css["@layer base"] ??= {} - for (const [selector, classes] of groups) { + for (const [selector, classes] of groups.entries()) { const fontClasses = classes.join(" ") tree.css["@layer base"][selector] ??= {} // Find existing @apply key and merge, or create new.