mirror of
https://github.com/element-hq/element-web
synced 2024-11-22 01:05:42 +03:00
0faf298e05
This code originally held an array of refs. But these refs were unset just before sorting leading to errors. For the fix, I've used a callback ref to add/remove the DOM elements to/from the array in state. This way there's nothing that could possibly mutate just before sort. |
||
---|---|---|
.. | ||
@types | ||
app-tests | ||
components/views/dialogs/security | ||
setup | ||
test-utils | ||
unit-tests | ||
CreateCrossSigning-test.ts | ||
globalSetup.ts | ||
jest-mocks.ts | ||
setupTests.ts | ||
slowReporter.cjs |