flat
This commit is contained in:
parent
03ef01672e
commit
b8a0f540a3
6 changed files with 20 additions and 24 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue