mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-23 04:33:06 +00:00
FIx: pushroot should actually push the right root on native mutations
This commit is contained in:
parent
3e5edff724
commit
b05ea0b202
1 changed files with 2 additions and 2 deletions
|
@ -196,7 +196,7 @@ impl WriteMutations for MutationState {
|
||||||
self.channel.remove(id.0 as u32);
|
self.channel.remove(id.0 as u32);
|
||||||
}
|
}
|
||||||
|
|
||||||
fn push_root(&mut self, _id: dioxus_core::ElementId) {
|
fn push_root(&mut self, id: dioxus_core::ElementId) {
|
||||||
self.channel.push_root(0);
|
self.channel.push_root(id.0 as _);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue