fix: in `<For/>`, `removed` not being cleared when setting a diff to clear, causing panic (#1220)
This commit is contained in:
parent
2cb8171105
commit
1d7235d4ca
|
@ -653,6 +653,7 @@ fn apply_opts<K: Eq + Hash>(
|
|||
&& cmds.moved.is_empty()
|
||||
{
|
||||
cmds.clear = true;
|
||||
cmds.removed.clear();
|
||||
|
||||
cmds.added
|
||||
.iter_mut()
|
||||
|
|
Loading…
Reference in New Issue