Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jolevesq committed Jan 7, 2025
1 parent cee8231 commit 091e2dc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export function initializeLayerState(set: TypeSetStore, get: TypeGetStore): ILay
getLayerStatus: (layerPath: string): TypeLayerStatus | undefined => {
const curLayers = get().layerState.legendLayers;

// If the layer is nnot found, it is because itis deleted, return error status
// If the layer is not found, it is because it is deleted, return error status
return LegendEventProcessor.findLayerByPath(curLayers, layerPath) !== undefined
? LegendEventProcessor.findLayerByPath(curLayers, layerPath)!.layerStatus
: 'error';
Expand Down

0 comments on commit 091e2dc

Please sign in to comment.