Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
timofei-iatsenko committed Mar 29, 2024
1 parent 63ef9db commit 71dc5c2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/jsx_visitor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ static WORD_OPTION: Lazy<Regex> = Lazy::new(|| Regex::new(r"_(\w+)").unwrap());

// taken from babel repo -> packages/babel-types/src/utils/react/cleanJSXElementLiteralChild.ts
fn clean_jsx_element_literal_child(value: &str) -> String {
println!("bla {}", value);

let lines: Vec<&str> = value.split('\n').collect();
let mut last_non_empty_line = 0;

Expand Down

0 comments on commit 71dc5c2

Please sign in to comment.