Skip to content

Commit

Permalink
remove duplicate return function
Browse files Browse the repository at this point in the history
  • Loading branch information
CollinBeczak committed Jan 7, 2024
1 parent a514580 commit 6efe9e0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/services/SuperAdmin/SuperAdminChallenges.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ export const receiveAdminChallenges = function (normalizedEntities, dispatch) {
}

export const fetchAdminChallenges = function (query) {
return async function (dispatch) {
return async function (dispatch) {
try {
const normalizedResults = await dispatch(performChallengeSearch(query, 50000, true))
Expand All @@ -29,5 +28,4 @@ export const fetchAdminChallenges = function (query) {
console.error('Error searching admin challenges:', error)
}
}
}
}

0 comments on commit 6efe9e0

Please sign in to comment.