From 16f05143ef518fd1e1e3e7ab5e08c7c2e713c412 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Louv-Jansen?= Date: Thu, 8 Nov 2018 22:13:30 +0100 Subject: [PATCH] [APM] Fix missing transaction message (#25353) (#25411) --- .../public/store/reactReduxRequest/transactionDetails.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/x-pack/plugins/apm/public/store/reactReduxRequest/transactionDetails.tsx b/x-pack/plugins/apm/public/store/reactReduxRequest/transactionDetails.tsx index 2d34ec3bb5d49..0e1d5ece186db 100644 --- a/x-pack/plugins/apm/public/store/reactReduxRequest/transactionDetails.tsx +++ b/x-pack/plugins/apm/public/store/reactReduxRequest/transactionDetails.tsx @@ -14,11 +14,8 @@ import { IUrlParams } from '../urlParams'; import { createInitialDataSelector } from './helpers'; const ID = 'transactionDetails'; -const INITIAL_DATA = {}; -const withInitialData = createInitialDataSelector(INITIAL_DATA); - export function getTransactionDetails(state: IReduxState) { - return withInitialData(state.reactReduxRequest[ID]); + return state.reactReduxRequest[ID]; } export function TransactionDetailsRequest({