mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
This commit is contained in:
parent
fb5d8513ff
commit
0c817d51fe
1 changed files with 1 additions and 1 deletions
|
@ -392,7 +392,7 @@ where
|
|||
let pending_dispatches = Rc::clone(&self.pending_dispatches);
|
||||
let value = self.value;
|
||||
pending.set(true);
|
||||
pending_dispatches.set(pending_dispatches.get().saturating_sub(1));
|
||||
pending_dispatches.set(pending_dispatches.get().wrapping_add(1));
|
||||
spawn_local(async move {
|
||||
let new_value = fut.await;
|
||||
let res = try_batch(move || {
|
||||
|
|
Loading…
Reference in a new issue