Skip to content

Commit d660975

Browse files
committed
simplify function syntax
1 parent 35705d0 commit d660975

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/services/Task/BoundedTask.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export const receiveBoundedTasks = function(tasks,
4747
* criteria, which should at least include a boundingBox field, and may
4848
* optionally include a filters field with additional constraints
4949
*/
50-
export const fetchBoundedTaskMarkers = function(criteria, limit = 50, skipDispatch = false, ignoreLocked = true) {
50+
export function fetchBoundedTaskMarkers(criteria, limit = 50, skipDispatch = false, ignoreLocked = true) {
5151
return function(dispatch) {
5252
if (!skipDispatch) {
5353
// The map is either showing task clusters or bounded tasks so we shouldn't
@@ -144,7 +144,7 @@ export const fetchBoundedTaskMarkers = function(criteria, limit = 50, skipDispat
144144
* criteria, which should at least include a boundingBox field, and may
145145
* optionally include a filters field with additional constraints
146146
*/
147-
export const fetchBoundedTasks = function(criteria, limit=50, skipDispatch=false, ignoreLocked=true, withGeometries) {
147+
export function fetchBoundedTasks(criteria, limit=50, skipDispatch=false, ignoreLocked=true, withGeometries) {
148148
return function(dispatch) {
149149
if (!skipDispatch) {
150150
// The map is either showing task clusters or bounded tasks so we shouldn't

0 commit comments

Comments
 (0)