diff --git a/x-pack/plugins/endpoint/public/embeddables/resolver/store/data/reducer.ts b/x-pack/plugins/endpoint/public/embeddables/resolver/store/data/reducer.ts index e9e8d0ea246351..ddd423830560c1 100644 --- a/x-pack/plugins/endpoint/public/embeddables/resolver/store/data/reducer.ts +++ b/x-pack/plugins/endpoint/public/embeddables/resolver/store/data/reducer.ts @@ -48,7 +48,7 @@ export const dataReducer: Reducer = (state = initialS return state; } else if (action.type === 'serverReturnedRelatedEventData') { const statsMap = state.resultsEnrichedWithRelatedEventInfo; - if (statsMap && typeof statsMap?.set === 'function') { + if (statsMap) { const relatedDataEntries = new Map([...statsMap, ...action.payload]); return { ...state, resultsEnrichedWithRelatedEventInfo: relatedDataEntries }; }