mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-12 23:47:16 +00:00
Fix future value never updating
This commit is contained in:
parent
bfc8240438
commit
8af0f0a76a
1 changed files with 3 additions and 0 deletions
|
@ -57,6 +57,9 @@ where
|
|||
state.needs_regen.set(false);
|
||||
}
|
||||
|
||||
// update the current value
|
||||
state.state.current_val = val.current_val.clone();
|
||||
|
||||
state
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue