Skip to content

Commit

Permalink
Removed unnecessary sort on reducer
Browse files Browse the repository at this point in the history
  • Loading branch information
icrc-psousa committed Apr 1, 2024
1 parent 30d3ca7 commit 1a7c143
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/context/GroupFormWorkflowReducer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,6 @@ const reducer = (state, action) => {
}

case "SET_GROUP": {
action.group.cohortMembers.sort((a, b) =>
a.display?.localeCompare(b?.display)
);
const newState = {
...state,
forms: {
Expand Down

0 comments on commit 1a7c143

Please sign in to comment.