mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-07-01 00:24:20 +00:00
fix
This commit is contained in:
@@ -69,7 +69,7 @@ export async function massageTreeForFonts(
|
||||
tree.css ??= {}
|
||||
tree.css["@layer base"] ??= {}
|
||||
|
||||
for (const [selector, classes] of groups.entries()) {
|
||||
for (const [selector, classes] of Array.from(groups.entries())) {
|
||||
const fontClasses = classes.join(" ")
|
||||
tree.css["@layer base"][selector] ??= {}
|
||||
// Find existing @apply key and merge, or create new.
|
||||
|
||||
Reference in New Issue
Block a user