Commit f8579e8a authored by Tifenn Guillas's avatar Tifenn Guillas
Browse files

Move this array "sort" operation to a separate statement.

parent 169f653e
......@@ -44,4 +44,4 @@ export function reducer(state: State = initialState, action: actions.Actions): S
export const getCriteriaSearchMetaIsLoading = (state: State) => state.criteriaSearchMetaIsLoading;
export const getCriteriaSearchMetaIsLoaded = (state: State) => state.criteriaSearchMetaIsLoaded;
export const getCriteriaFamilyList = (state: State) => state.criteriaFamilyList.sort((a, b) => a.display - b.display);
export const getCriteriaFamilyList = (state: State) => state.criteriaFamilyList;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment