This commit is contained in:
Henry Jameson 2026-08-04 21:10:07 +03:00
commit b8a0f540a3
6 changed files with 20 additions and 24 deletions

View file

@ -262,7 +262,7 @@ export const init = ({
...r,
})),
)
.reduce((acc, arr) => [...acc, ...arr], []),
.flat()
...inputRuleset,
].map((rule) => {
normalizeCombination(rule)
@ -705,7 +705,7 @@ export const init = ({
.map((variant) => {
return stateCombinations.map((state) => ({ variant, state }))
})
.reduce((acc, x) => [...acc, ...x], [])
.flat()
stateVariantCombination.forEach((combination) => {
combination.component = component.name