Commit 72a2c7c
authored
Workaround references list not updating (microsoft#232176)
Not the ideal fix but this makes it so that `ChatCollapsibleListContentPart` does not have a live version of the references list passed to it. The current code results in the item never being re-rendered because `hasSameContent` would always return true, so the references list would not update
There are a bunch of layers above this that all say they are readonly arrays too. Being readonly is correct from the consumer side, but it looks like the array does get mutated behind the scenes which is often unexpected1 parent 2c1d208 commit 72a2c7c
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
492 | 492 | | |
493 | 493 | | |
494 | 494 | | |
495 | | - | |
| 495 | + | |
496 | 496 | | |
497 | 497 | | |
498 | 498 | | |
| |||
0 commit comments