diff --git a/apps/fishing-map/features/map/popups/PopupWrapper.tsx b/apps/fishing-map/features/map/popups/PopupWrapper.tsx index 9da08d37d2..5c74ce091c 100644 --- a/apps/fishing-map/features/map/popups/PopupWrapper.tsx +++ b/apps/fishing-map/features/map/popups/PopupWrapper.tsx @@ -113,23 +113,25 @@ function PopupWrapper({ // /> // ) case DataviewCategory.Activity: - return (features as SliceExtendedFourwingsFeature[])?.map((feature) => { - return feature.sublayers.map((sublayer, i) => ( + return (features as SliceExtendedFourwingsFeature[])?.map((feature, i) => { + return feature.sublayers.map((sublayer, j) => ( )) }) case DataviewCategory.Detections: - return (features as FourwingsPickingObject[])?.map((feature, i) => ( - - )) + return (features as FourwingsPickingObject[])?.map((feature, i) => { + return feature.sublayers.map((sublayer, j) => ( + + )) + }) case DataviewCategory.Events: return (