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:
parent
af07396d9a
commit
b9a3d74fbb
@ -19,9 +19,9 @@ export function fetchContext() {
|
|||||||
return dispatch =>
|
return dispatch =>
|
||||||
api
|
api
|
||||||
.fetchAll()
|
.fetchAll()
|
||||||
.then(json => {
|
.then(json => {
|
||||||
json.sort((a, b) => a.sortOrder - b.sortOrder);
|
json.sort((a, b) => a.sortOrder - b.sortOrder);
|
||||||
dispatch(receiveContext(json))
|
dispatch(receiveContext(json));
|
||||||
})
|
})
|
||||||
.catch(dispatchAndThrow(dispatch, ERROR_RECEIVE_CONTEXT));
|
.catch(dispatchAndThrow(dispatch, ERROR_RECEIVE_CONTEXT));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user