Skip to content

Commit

Permalink
chore: typo (#2001)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hongbusi committed Dec 15, 2022
1 parent 92d2470 commit 4c1fab0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/core/src/generator/index.ts
Expand Up @@ -578,10 +578,10 @@ export class UnoGenerator<Theme extends {} = {}> {
.sort((a, b) => a[0] - b[0])

const [raw, , parentVariants] = parent
const rawStringfieldUtil: StringifiedUtil<Theme>[] = []
const rawStringifiedUtil: StringifiedUtil<Theme>[] = []
for (const item of parsed) {
if (isRawUtil(item)) {
rawStringfieldUtil.push([item[0], undefined, item[1], undefined, item[2], context, undefined])
rawStringifiedUtil.push([item[0], undefined, item[1], undefined, item[2], context, undefined])
continue
}
const { selector, entries, parent, sort, noMerge } = this.applyVariants(item, [...item[4], ...parentVariants], raw)
Expand All @@ -591,7 +591,7 @@ export class UnoGenerator<Theme extends {} = {}> {
// add entries
mapItem[0].push([entries, !!(noMerge ?? item[3]?.noMerge), sort ?? 0])
}
return rawStringfieldUtil.concat(selectorMap
return rawStringifiedUtil.concat(selectorMap
.map(([e, index], selector, joinedParents) => {
const stringify = (flatten: boolean, noMerge: boolean, entrySortPair: [CSSEntries, number][]): (StringifiedUtil<Theme> | undefined)[] => {
const maxSort = Math.max(...entrySortPair.map(e => e[1]))
Expand Down

0 comments on commit 4c1fab0

Please sign in to comment.