Skip to content

Commit de0e4f3

Browse files
fix(utils): correct typo in is_not_none (#282)
1 parent 6edc744 commit de0e4f3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/utils/src/dom.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ impl From<CssStyleDeclaration> for ElementOrCss<'_> {
198198
}
199199

200200
fn is_not_none(value: Result<String, JsValue>) -> bool {
201-
value.is_ok_and(|value| value != "normal")
201+
value.is_ok_and(|value| value != "none")
202202
}
203203

204204
pub fn is_containing_block(element: ElementOrCss) -> bool {

0 commit comments

Comments
 (0)