Skip to content

Commit

Permalink
fix: correctly mark Trigger as clean when it is re-tracked (closes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
gbj authored Nov 22, 2023
1 parent 0ce4ee8 commit 061213c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions leptos_reactive/src/trigger.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ impl Trigger {
let diagnostics = diagnostics!(self);

with_runtime(|runtime| {
runtime.update_if_necessary(self.id);
self.id.subscribe(runtime, diagnostics);
})
.is_ok()
Expand Down

0 comments on commit 061213c

Please sign in to comment.