1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

fix: lint errors

This commit is contained in:
Ivar Conradi Østhus 2020-03-11 19:04:56 +01:00
parent af07396d9a
commit b9a3d74fbb

View File

@ -19,9 +19,9 @@ export function fetchContext() {
return dispatch =>
api
.fetchAll()
.then(json => {
.then(json => {
json.sort((a, b) => a.sortOrder - b.sortOrder);
dispatch(receiveContext(json))
dispatch(receiveContext(json));
})
.catch(dispatchAndThrow(dispatch, ERROR_RECEIVE_CONTEXT));
}