Hi, Thanks for sharing this project!
I get the following error when compiling:
ERROR in ./shared/reducers/activations.js
Z:\GitHub\itsquiz-wall\shared\reducers\activations.js
31:13 error Do not use c-like loop with i++ or i +=1, instead use forEach, Map, or For of more/no-c-like-loops
✖ 1 problem (1 error, 0 warnings
I was able to fix it by replacing the loop statement (line 31) with:
newActivations.foreach((value, i) => {
if (action.offset + i < loadedActivations.length) {
loadedActivations[action.offset + i] = newActivations[i];
} else {
loadedActivations.push(newActivations[i]);
}
});
Hi, Thanks for sharing this project!
I get the following error when compiling:
I was able to fix it by replacing the loop statement (line 31) with: