1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-31 13:44:28 +03:00

Fix let binding in reskindex.js

This commit is contained in:
J. Ryan Stinnett
2021-01-19 17:58:17 +00:00
parent 4cfd6e53aa
commit 016140670b

View File

@ -69,7 +69,7 @@ function filesHaveChanged(files, prevFiles) {
return true;
}
// Check for name changes
for (const i = 0; i < files.length; i++) {
for (let i = 0; i < files.length; i++) {
if (prevFiles[i] !== files[i]) {
return true;
}