Skip to content

Commit

Permalink
[Tech] delete duplicate code
Browse files Browse the repository at this point in the history
  • Loading branch information
claire2212 committed Dec 9, 2024
1 parent be4e6d9 commit c68bd83
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,6 @@ export function OverlayContent({ items }: OverlayContentProps) {
const isVigilanceArea = isVigilanceAreaLayer(item.layerType)

let vigilanceAreaPeriod = ''
if (isVigilanceArea && (item.properties as VigilanceArea.VigilanceAreaProperties).isAtAllTimes) {
vigilanceAreaPeriod = 'En tout temps'
}
if (isVigilanceArea) {
if ((item.properties as VigilanceArea.VigilanceAreaProperties).isAtAllTimes) {
vigilanceAreaPeriod = 'En tout temps'
Expand Down

0 comments on commit c68bd83

Please sign in to comment.