diff --git a/app/hooks/map/index.ts b/app/hooks/map/index.ts index d0c158dd09..31bcba2818 100644 --- a/app/hooks/map/index.ts +++ b/app/hooks/map/index.ts @@ -312,8 +312,8 @@ export function useWDPAPreviewLayer({ // wdpaIucnCategories are filtered in two steps as they are custom and WDPA. filter: [ 'any', - ['all', ['in', ['get', 'iucn_cat'], ['literal', id]]], - ['all', ['in', ['get', 'id'], ['literal', id]]], + ['all', ['in', ['get', 'iucn_cat'], ['literal', [id]]]], + ['all', ['in', ['get', 'id'], ['literal', [id]]]], ], paint: { 'fill-color': COLORS['wdpa-preview'],