mirror of
https://github.com/adoyle0/leptos-use.git
synced 2025-01-24 01:09:21 -05:00
fixed get untracked warning in use_storage
This commit is contained in:
parent
daa25207ca
commit
7b34c9d0c6
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@ where
|
|||
|
||||
let (data, set_data) = defaults.into_signal(cx);
|
||||
|
||||
let raw_init = data.get();
|
||||
let raw_init = data.get_untracked();
|
||||
|
||||
cfg_if! { if #[cfg(feature = "ssr")] {
|
||||
let remove: Box<dyn CloneableFn> = Box::new(|| {});
|
||||
|
|
Loading…
Add table
Reference in a new issue