Skip to content

Commit

Permalink
[Tech] delete return
Browse files Browse the repository at this point in the history
  • Loading branch information
claire2212 committed Sep 16, 2024
1 parent 2537ae2 commit 2e9c9cc
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,13 +185,9 @@ export function OverlayPositionOnCentroid({
const featureId = String(nextFeature.getId())
if (!featureId.includes(Layers.SEMAPHORES.code)) {
dispatch(resetSelectedSemaphore())

return
}
if (!featureId.includes(Layers.MISSIONS.code)) {
dispatch(missionActions.resetSelectedMissionIdOnMap())

return
}

if (!featureId.includes(Layers.REPORTINGS.code)) {
Expand Down

0 comments on commit 2e9c9cc

Please sign in to comment.