Skip to content

Commit

Permalink
undo changes in votings/reducer
Browse files Browse the repository at this point in the history
  • Loading branch information
mateo-ivc committed Nov 18, 2024
1 parent 646394e commit 4d5efb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store/features/votings/reducer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ export const votingsReducer = createReducer(initialState, (builder) =>
})
.addCase(updatedVoting, (state, action) => {
state.open = undefined;
state.past.unshift(action.payload.voting);
state.past.push(action.payload.voting);
})
);

0 comments on commit 4d5efb5

Please sign in to comment.