fix attribute diff infinite loop (#1843)

This commit is contained in:
Ege Gungordu 2024-01-21 18:26:48 +03:00
parent e91fc5490f
commit 7aa3f21954

View file

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