mirror of
https://github.com/leptos-rs/leptos
synced 2024-09-20 14:32:00 +00:00
fix: .refetch()
should not track any reads (closes #2221)
This commit is contained in:
parent
694e5f1cb3
commit
ea6c957f3d
1 changed files with 3 additions and 3 deletions
|
@ -8,8 +8,8 @@ use crate::{
|
|||
signal_prelude::format_signal_warning, spawn::spawn_local,
|
||||
suspense::LocalStatus, use_context, GlobalSuspenseContext, Memo,
|
||||
ReadSignal, ScopeProperty, Signal, SignalDispose, SignalGet,
|
||||
SignalGetUntracked, SignalSet, SignalUpdate, SignalWith, SuspenseContext,
|
||||
WriteSignal,
|
||||
SignalGetUntracked, SignalSet, SignalUpdate, SignalWith,
|
||||
SignalWithUntracked, SuspenseContext, WriteSignal,
|
||||
};
|
||||
use std::{
|
||||
any::Any,
|
||||
|
@ -1358,7 +1358,7 @@ where
|
|||
self.version.set(version);
|
||||
self.scheduled.set(false);
|
||||
|
||||
_ = self.source.try_with(|source| {
|
||||
_ = self.source.try_with_untracked(|source| {
|
||||
let fut = (self.fetcher)(source.clone());
|
||||
|
||||
// `scheduled` is true for the rest of this code only
|
||||
|
|
Loading…
Reference in a new issue