Skip to content

Commit 56dbd3c

Browse files
committed
Update lib
1 parent a646274 commit 56dbd3c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

libs/css/src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,7 @@ pub fn sheet_to_classname(
215215

216216
pub fn sheet_to_variable_name(property: &str, level: u8, selector: Option<&str>) -> String {
217217
if is_debug() {
218-
let selector = selector.unwrap_or_default();
219-
let selector = selector.trim();
218+
let selector = selector.unwrap_or_default().trim();
220219
format!(
221220
"--{}-{}-{}",
222221
property,

0 commit comments

Comments
 (0)