Skip to content
This repository has been archived by the owner on May 12, 2022. It is now read-only.

Commit

Permalink
Order notes by ID.
Browse files Browse the repository at this point in the history
  • Loading branch information
arkanoryn committed Aug 6, 2017
1 parent 4a58414 commit 3d2d6a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NotesList/Reducer.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ let NotesListReducer = (state = initialState, action) => {
state,
{
isFetching: false,
notes: action.notes,
notes: _.sortBy(action.notes, ['id']),
}
));

Expand Down

0 comments on commit 3d2d6a3

Please sign in to comment.