mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-10 14:44:12 +00:00
fix attribute diff infinite loop (#1843)
This commit is contained in:
parent
e91fc5490f
commit
7aa3f21954
1 changed files with 4 additions and 0 deletions
|
@ -160,6 +160,10 @@ impl<'b> VirtualDom {
|
|||
self.diff_attribute(left, right, mounted_id)
|
||||
}
|
||||
}
|
||||
|
||||
// consume both
|
||||
left_iter.next();
|
||||
right_iter.next();
|
||||
}
|
||||
(Some(_), None) => {
|
||||
let left = left_iter.next().unwrap();
|
||||
|
|
Loading…
Reference in a new issue