Skip to content

Commit

Permalink
fix: Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
pheki committed Dec 29, 2023
1 parent 37e4896 commit 9b90b33
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion leptos_reactive/tests/memo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,9 @@ fn raw_memo_slice() {

let token = create_raw_memo(move |old_token| {
state.with(move |state| {
if let Some(token) = old_token.filter(|old_token| old_token == &state.token) {
if let Some(token) =
old_token.filter(|old_token| old_token == &state.token)
{
(token, false)
} else {
(state.token.clone(), true)
Expand Down

0 comments on commit 9b90b33

Please sign in to comment.