tentative fix
This commit is contained in:
parent
6c108d7704
commit
0fc8eec293
1 changed files with 1 additions and 2 deletions
|
|
@ -110,14 +110,13 @@ export const genericRuleToSelector =
|
|||
let arraySelector = Array.isArray(selector) ? selector : [selector]
|
||||
if (ignoreOutOfTreeSelector || liteMode)
|
||||
arraySelector = [arraySelector[0]]
|
||||
arraySelector
|
||||
return arraySelector
|
||||
.sort((a) => {
|
||||
if (a.startsWith(':')) return 1
|
||||
if (/^[a-z]/.exec(a)) return -1
|
||||
else return 0
|
||||
})
|
||||
.join('')
|
||||
return arraySelector
|
||||
})
|
||||
|
||||
const statesSelectorsFlat = statesSelectors.reduce((acc, s) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue