sort of event list is added

This commit is contained in:
병준 박 2019-10-29 14:11:01 +09:00
parent 6ff7a3acda
commit 93eb386825

View File

@ -11,7 +11,10 @@ export interface State {
}
export const adapterInfoList = createEntityAdapter<Info>({
selectId: info => info.seq
selectId: info => info.seq,
sortComparer: (a, b) => {
return a.seq - b.seq;
}
});
const infoListInitialState: InfoListState = adapterInfoList.getInitialState({});