Skip to content

Commit a93c61f

Browse files
committed
Fix grouping prototype
1 parent 703a8b0 commit a93c61f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/generateRules.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ function applyFinalFormat(match, { context, candidate, original }) {
801801
try {
802802
finalFormat = formatVariantSelector(match[0].collectedFormats, {
803803
context,
804-
candidate,
804+
candidate: original,
805805
})
806806
} catch {
807807
// The format selector we produced is invalid
@@ -826,7 +826,7 @@ function applyFinalFormat(match, { context, candidate, original }) {
826826

827827
try {
828828
rule.selector = finalizeSelector(rule.selector, finalFormat, {
829-
candidate: original,
829+
candidate,
830830
context,
831831
})
832832
} catch {

0 commit comments

Comments
 (0)