fixed get untracked warning in use_storage

This commit is contained in:
Maccesch 2023-08-02 01:16:13 +01:00
parent daa25207ca
commit 7b34c9d0c6

View file

@ -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(|| {});