Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jantimon committed Jul 21, 2024
1 parent 52a66b8 commit 95fdfeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/yak-swc/yak_swc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ where
// The escapping of the css code is removed as a slash requires escaling in js string literals
// e.g. styled.button`content: "\\2022"` -> `content: "\2022"`
let quasi_css_code = &css_code[css_code_offset..].replace("\\\\", "\\");
let (new_state, new_declarations) = parse_css(qusi_css_code, css_state);
let (new_state, new_declarations) = parse_css(quasi_css_code, css_state);
css_code_offset = 0;
css_state = Some(new_state);
// Add the extracted CSS to the the root styled component
Expand Down

0 comments on commit 95fdfeb

Please sign in to comment.