Skip to content

Commit

Permalink
Use clone_order instead of longer expression
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoburns committed Oct 23, 2024
1 parent 6ed8d58 commit 55a9f2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/blitz-dom/src/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 55a9f2f

Please sign in to comment.