Skip to content

Commit

Permalink
remove as string
Browse files Browse the repository at this point in the history
  • Loading branch information
atarashansky authored and atarashansky committed Aug 26, 2022
1 parent 66faa40 commit 650ece4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/reducers/cascade.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default function cascadeReducers(arg: CascadedReducers): Reducer {
const nextState: RootState = {};
let stateChange = false;
for (let i = 0, l = reducerKeys.length; i < l; i += 1) {
const key = reducerKeys[i] as string;
const key = reducerKeys[i];
const reducer = reducers.get(key);
if (reducer) {
const prevStateForKey = prevState ? prevState[key] : undefined;
Expand Down

0 comments on commit 650ece4

Please sign in to comment.