Skip to content

Commit eaf1c42

Browse files
committed
refactor(transformer/styled-components): fix typo (#12214)
`quasis` not `quais`
1 parent 5ad62cd commit eaf1c42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/oxc_transformer/src/plugins/styled_components.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,8 +409,8 @@ impl<'a> StyledComponents<'a, '_> {
409409
let (new_raws, remained_expression_indices) = CssMinifier::minify_quasis(quasis, ctx.ast);
410410

411411
// Update the quasis with the new raw values.
412-
for (new_raw, quais) in new_raws.into_iter().zip(quasis.iter_mut()) {
413-
quais.value.raw = new_raw;
412+
for (new_raw, quasis) in new_raws.into_iter().zip(quasis.iter_mut()) {
413+
quasis.value.raw = new_raw;
414414
}
415415

416416
// Keep expressions that are still present after minification.

0 commit comments

Comments
 (0)