Skip to content

Commit ebe3761

Browse files
committed
Fix lint
1 parent 9282943 commit ebe3761

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

libs/extractor/src/extractor/extract_style_from_expression.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -217,10 +217,8 @@ pub fn extract_style_from_expression<'a>(
217217
StyleSelector::from([&selector.to_string(), *name]).to_string()
218218
}
219219
} else if name.starts_with("_") {
220-
StyleSelector::from(
221-
to_kebab_case(&name.replace("_", "")).as_str(),
222-
)
223-
.to_string()
220+
StyleSelector::from(to_kebab_case(&name.replace("_", "")).as_str())
221+
.to_string()
224222
} else {
225223
StyleSelector::from(name.replace("_", "").as_str()).to_string()
226224
}

0 commit comments

Comments
 (0)