Skip to content

Commit

Permalink
Apply linter
Browse files Browse the repository at this point in the history
  • Loading branch information
louptheron committed Feb 1, 2024
1 parent 3794f91 commit dcff7a0
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions frontend/src/features/VesselList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -177,14 +177,13 @@ export function VesselList({ namespace }) {
}
setTimeout(() => {
dispatch(getFilteredVessels(checkedVessels, filters)).then(_filteredVessels => {
const nextVessels = _filteredVessels
.map(vessel => ({
...vessel,
vesselProperties: {
...vessel.vesselProperties,
flagState: vessel.vesselProperties.flagState.toLowerCase()
}
}))
const nextVessels = _filteredVessels.map(vessel => ({
...vessel,
vesselProperties: {
...vessel.vesselProperties,
flagState: vessel.vesselProperties.flagState.toLowerCase()
}
}))
setFilteredVessels(nextVessels)
setVesselsCountShowed(_filteredVessels.length)
})
Expand Down

0 comments on commit dcff7a0

Please sign in to comment.