From 55a9f2f1f668d1ab2c20ef80622d8301d2b1e944 Mon Sep 17 00:00:00 2001 From: Nico Burns Date: Wed, 23 Oct 2024 19:40:39 +0900 Subject: [PATCH] Use clone_order instead of longer expression --- packages/blitz-dom/src/node.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/blitz-dom/src/node.rs b/packages/blitz-dom/src/node.rs index ebbfeeae..b684509c 100644 --- a/packages/blitz-dom/src/node.rs +++ b/packages/blitz-dom/src/node.rs @@ -827,7 +827,7 @@ impl Node { .borrow() .as_ref() .and_then(|data| data.styles.get_primary()) - .map(|s| s.get_position().order) + .map(|s| s.clone_order()) .unwrap_or(0) }